Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IButtonProperties.Glyphs Property

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

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[DXCategory("Behavior")]
object Glyphs { get; set; }

#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