IButtonProperties.Glyphs Property

Gets or sets a collection of glyphs for the current IButton object.

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Behavior")]
object Glyphs { get; set; }
<DXCategory("Behavior")>
Property Glyphs As Object

Property Value

Type Description
Object

An Object that is the glyphs collection for the current IButton object.

Remarks

The Glyphs property stores a collection of glyphs that are used as the current IButton object images in all five visual states (normal, hovered, checked, disabled and selected). Due to the number of possible states, the Glyphs collection must contain five images. However, certain elements (e.g., buttons within the WindowsUIButtonPanel) will use only the first four glyphs.

If a custom button uses the Glyphs collection, its IButtonProperties.Image and IButtonProperties.ImageIndex properties are ignored. See the Header Buttons topic for more info.

See Also