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

RepositoryItemTokenEdit.ShowTokenGlyph Property

Gets or sets whether token glyphs should be displayed.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowTokenGlyph { get; set; }

#Property Value

Type Default Description
Boolean true

true if token glyphs should be displayed; otherwise, false.

#Remarks

Each token is capable of displaying a clickable glyph next to its caption. By default, tokens display removed icons as their glyphs, which maintains the line with the default RepositoryItemTokenEdit.DeleteTokenOnGlyphClick property value. You can handle the RepositoryItemTokenEdit.CustomDrawTokenGlyph event to draw your custom token glyph. To hide these glyphs, set the ShowTokenGlyph property to false.

See Also