Skip to main content

GalleryItem.Enabled Property

Gets or sets whether the current GalleryItem is enabled.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

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