AutoSuggestEdit.ItemStringFormat Property
Gets or sets the composite string that specifies how to format the items in the editor’s drop down. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
String | The composite string that specifies how to format the items in the editor’s dropdown. |
Remarks
The ItemStringFormat format string is applied to the edidtor’s drop-down items. Use the DisplayMember property to specify an object’s data field whose values are displayed in the editor’s drop-down list.
Example
<dxe:AutoSuggestEdit ...
ItemStringFormat="City: {0}"
TextMember="City"
DisplayMember="City"
QuerySubmitted="AutoSuggestEdit_QuerySubmitted"/>
See Also