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

GalleryItem.Enabled Property

Gets or sets whether the current GalleryItem is enabled.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
public bool Enabled { get; set; }

#Property Value

Type Default Description
Boolean true

true if the current GalleryItem is enabled; otherwise, false.

#Remarks

Use the Enabled property to specify whether the GalleryItem is enabled. Set the Enabled property to false to make it impossible to click the gallery item or to select the gallery item if the selection mode is enabled (see the BaseGallery.ItemCheckMode property for details on item selection modes). The disabled gallery item is displayed in a gray hue.

See Also