VisualItemInput mode Configuration in WinForms MultiSelectionComboBox
27 Apr 20211 minute to read
The property named VisualItemInputMode helps to define the Visual Items in Text Input.
Property | Description |
---|---|
VisualItemInputMode | Gets/Sets the VisualItem Text input mode. |
DisplayMemberMode | To set SelectedItem as the text input of VisualItem. |
ValueMemberMode | To set SelectedValue as the text input of VisualItem. |
VisualItemMode | To set custom text input for VisualItem, based on the end-user’s requirement. |
//Define the Visual items as DisplayMember
this.multiSelectionComboBox1.VisualItemInputMode = Syncfusion.Windows.Forms.Tools.VisualItemInputMode.DisplayMemberMode;
//Define the Visual items as ValueMember
this.multiSelectionComboBox1.VisualItemInputMode = Syncfusion.Windows.Forms.Tools.VisualItemInputMode.ValueMemberMode;
//To set custom text input for VisualItem, based on end user requirement.
this.multiSelectionComboBox1.VisualItemInputMode = Syncfusion.Windows.Forms.Tools.VisualItemInputMode.VisualItemMode;
'Define the Visual items as DisplayMember
Me.multiSelectionComboBox1.VisualItemInputMode = Syncfusion.Windows.Forms.Tools.VisualItemInputMode.DisplayMemberMode
'Define the Visual items as ValueMember
Me.multiSelectionComboBox1.VisualItemInputMode = Syncfusion.Windows.Forms.Tools.VisualItemInputMode.ValueMemberMode
'To set custom text input for VisualItem, based on end user requirement.
Me.multiSelectionComboBox1.VisualItemInputMode = Syncfusion.Windows.Forms.Tools.VisualItemInputMode.VisualItemMode