Back to Devexpress

RepositoryItemTokenEdit.ShowTokenGlyph Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtokenedit-ec0ee3d7.md

latest2.2 KB
Original Source

RepositoryItemTokenEdit.ShowTokenGlyph Property

Gets or sets whether token glyphs should be displayed.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowTokenGlyph { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Property ShowTokenGlyph As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

DeleteTokenOnGlyphClick

CustomDrawTokenGlyph

RepositoryItemTokenEdit Class

RepositoryItemTokenEdit Members

DevExpress.XtraEditors.Repository Namespace