windowsforms-devexpress-dot-xtrabars-dot-baritem-2572ff13.md
Gets or sets the image corresponding to the item’s disabled state. This property is obsolete. Use the BarItem.ImageOptions.DisabledImage property instead.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
public virtual Image GlyphDisabled { get; set; }
<Browsable(False)>
Public Overridable Property GlyphDisabled As Image
| Type | Description |
|---|---|
| Image |
An Image object representing the image that will be displayed within the disabled item’s link(s).
|
An item is disabled if its BarItem.Enabled property is set to false. In this case you can use the GlyphDisabled property to specify the image to be displayed within the item’s link(s).
The disabled item’s image can also be specified using the BarItem.ImageOptions.DisabledImageIndex property. You must assign the ImageList object to the BarManager’s BarManager.Images property and then use the BarItem.ImageOptions.DisabledImageIndex property to specify the desired image.
Important note : if both the GlyphDisabled and BarItem.ImageOptions.DisabledImageIndex properties are specified, then the disabled item’s links display the image specified by the GlyphDisabled property.
See Also