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.v20.1.dll

Declaration

[Browsable(false)]
[DXCategory("Appearance")]
[DefaultValue(null)]
public virtual Image Glyph { get; set; }
<Browsable(False)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Overridable Property Glyph As Image

Property Value

Type Default Description
Image

null

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

Remarks

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