Back to Devexpress

IButtonProperties.Glyphs Property

windowsforms-devexpress-dot-xtraeditors-dot-buttonpanel-dot-ibuttonproperties-4a185013.md

latest2.6 KB
Original Source

IButtonProperties.Glyphs Property

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

Namespace : DevExpress.XtraEditors.ButtonPanel

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
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

Image

ImageIndex

Header Buttons

WindowsUI Buttons

IButtonProperties Interface

IButtonProperties Members

DevExpress.XtraEditors.ButtonPanel Namespace