Skip to main content

GalleryItem.Enabled Property

Gets or sets whether the current GalleryItem is enabled.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.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