Back to Devexpress

GalleryItem.Enabled Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-galleryitem-472968c3.md

latest1.9 KB
Original Source

GalleryItem.Enabled Property

Gets or sets whether the current GalleryItem is enabled.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public bool Enabled { get; set; }
vb
<DefaultValue(True)>
Public Property Enabled As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

Visible

ItemCheckMode

GalleryItem Class

GalleryItem Members

DevExpress.XtraBars.Ribbon Namespace