Bar

BarItem.GlyphDisabled Property

Gets or sets the image corresponding to the item's disabled state.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public virtual Image GlyphDisabled { get; set; }
<Browsable(False)>
Public Overridable Property GlyphDisabled As Image

Property Value

Type Description
Image

An Image object representing the image that will be displayed within the disabled item's link(s).

Remarks

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.ImageIndexDisabled property. You must assign the ImageList object to the BarManager's BarManager.Images property and then use the BarItem.ImageIndexDisabled property to specify the desired image.

Important note: if both the GlyphDisabled and BarItem.ImageIndexDisabled properties are specified, then the disabled item's links display the image specified by the GlyphDisabled property.

See Also