#region 配置checkedListBoxControl值
private void SetwItemValues(DevExpress.XtraEditors.CheckedListBoxControl checkedListBoxControl, String str)
{
for (int i = 0; i < checkedListBoxControl.Items.Count; i++)
{
if (checkedListBoxControl.Items[i].Value.ToString().Trim().Contains(str))
{
checkedListBoxControl.SetItemChecked(i, true);
return;
}
else
{
checkedListBoxControl.SetItemChecked(i, false);
}
}
}
#endregion
Dev 配置checkedListBoxControl值
最新推荐文章于 2021-02-11 14:42:19 发布