Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1059
Select all Ultracomboeditor items
posted

Hi,

What is the syntax to select all the items in multiselect Ultracomboeditor? Also, is it possible to highlight the selected items instead of the checkboxes?

 

 

 

 

 

 

this

 

.multiselectIntLE.DisplayMember ="test1";

 

 

this.multiselectIntLE.ValueMember ="test1";

 

 

this.multiselectIntLE.DataSource = tInternal;

 

 

this.multiselectIntLE.CheckedListSettings.CheckBoxStyle = Infragistics.Win.CheckStyle.CheckBox;

 

 

this.multiselectIntLE.CheckedListSettings.CheckBoxAlignment = ContentAlignment.MiddleLeft;

 

 

this.multiselectIntLE.CheckedListSettings.EditorValueSource = EditorWithComboValueSource.CheckedItems;

this.multiselectIntLE.CheckedListSettings.ItemCheckArea = ItemCheckArea.Item;

 Thanks

  • 71886
    Offline posted
    Hello joeleesin, One possible approach to select all items might be this:
    foreach (ValueListItem item in ultraComboEditor1.Items)
    {
          item.CheckState = CheckState.Checked;
    }
    
    As to the second question - you probably would be able to use a DrawFilter to achieve something similar to this behavior. You could read about it at http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Win_Draw_Filter.html. Please do not hesitate to contact us if you need any additional assistance.