Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Editors Namespace / QueryItemTextEventArgs Class / DisplayFormat Property


DisplayFormat Property (QueryItemTextEventArgs)
Gets the format with which the SelectedItem is displayed in the WinComboBox.
Syntax
'Declaration
 
Public ReadOnly Property DisplayFormat As String
 
'Usage
 
Dim instance As QueryItemTextEventArgs
Dim value As String
 
value = instance.DisplayFormat

Property Value

A string representing the format with which the SelectedItem is displayed in the WinComboBox.
Remarks

The default display format is the names (ColumnInfo.Name) of each column separated by a comma (,). For example, if the combobox contains 3 columns named "LastName", "FirstName", and "Age", the display format will be "%LastName%, %FirstName%, %Age%". When an item is selected, the display format will be resolved to the values of the correspond columns. For example: "Robitaille, Naomi, 6".

Requirements

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

See Also