Skip to main content

RepositoryItemTokenEdit.ShowTokenGlyph Property

Gets or sets whether token glyphs should be displayed.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.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