Skip to main content
Bar

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

BarItem.GlyphDisabled Property

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public virtual Image GlyphDisabled { get; set; }

#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.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