Intersoft.Client.UI.Data Namespace > UXMultipleSelectionComboBox Class : InputSeparator Property |
Public Property InputSeparator As String
Dim instance As UXMultipleSelectionComboBox Dim value As String instance.InputSeparator = value value = instance.InputSeparator
public string InputSeparator {get; set;}
By default, selected items displayed on the non-editable combo box control is splitted with a comma character. If you want to change this behavior, you must set the InputSeparator property with a string or the character you desired.
The following code change the separator value into a semicolon character which followed by a space character. It will produce results like the following image:
XAML |
Copy Code
|
---|---|
<Intersoft:UXMultipleSelectionComboBox SearchResult="{Binding Customers}" FilterDescriptors="{Binding LookUpDescriptor.FilterDescriptors, Mode=TwoWay}" SortDescriptors="{Binding LookUpDescriptor.SortDescriptors, Mode=TwoWay}" PageDescriptor="{Binding LookUpDescriptor.PageDescriptor}" DisplayMemberPath="ContactName" InputSeparator="; "> <Intersoft:UXMultipleSelectionComboBox.DataContext> <ViewModels:CustomerViewModel/> </Intersoft:UXMultipleSelectionComboBox.DataContext> </Intersoft:UXMultipleSelectionComboBox> |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2