Skip to main content

TdxTokenEditPropertiesOptionsLookup.DisplayMask Property

Specifies the formatting pattern for tokens suggested in a drop-down list.

Declaration

property DisplayMask: string read; write;

Property Value

Type
string

Remarks

A display mask is a string that consists of token content placeholders and custom text. For instance, you can use the DisplayMask property to display the suggested email address tokens similar to Microsoft Outlook®:

dxTokenEdit1.Properties.Lookup.DisplayMask := '[DisplayText] <[Text]>';

The token text and display text placeholder patterns used in the example are defined by the dxTokenEditDefaultDisplayMaskText and dxTokenEditDefaultDisplayMaskDisplayText global constants, respectively.

Note

The token content placeholder patterns are case-sensitive.

The default value of the DisplayMask property is an empty string.

See Also