Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public string ItemStringFormat { get; set; }

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 editor’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