Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxTokenEditPropertiesOptionsLookup.DisplayMask Property

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

#Declaration

Delphi
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