A newer version of this page is available. Switch to the current version.

ContextItem.Glyph Property

Gets or sets the glyph displayed by the current item in the normal (not hovered) state.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll


public virtual Image Glyph { get; set; }

Property Value

Type Default Description


An Image object that specifies the glyph displayed by the current item in the normal state.


You can specify two glyphs for the current item to be displayed in the normal and hovered states. For this purpose, use the Glyph and ContextItem.HoverGlyph properties, respectively.

For the RatingContextButton object, the ContextItem descendant, the Glyph and ContextItem.HoverGlyph properties specify the rating point glyph in the normal and hovered states, respectively.

For the CheckContextButton, the Glyph property allows you to specify a custom glyph displayed instead the default check box in the unchecked state.

The Glyph property is equivalent to the ImageOptions.Image property (see ContextItem.ImageOptions).

See Also