A newer version of this page is available. Switch to the current version.

GalleryItem.Enabled Property

Gets or sets whether the current GalleryItem is enabled.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll


public bool Enabled { get; set; }

Property Value

Type Default Description


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


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