Skip to main content
Bar

GalleryItem.IsChecked Property

Gets or sets whether the item is checked (in the pressed state). This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool IsChecked { get; set; }

Property Value

Type Description
Boolean

true if the item is checked; otherwise, false.

Remarks

The item checking feature can be enabled via the Gallery.ItemCheckMode property.

When an item is checked, the GalleryItem.Checked and Gallery.ItemChecked events fire. Unchecking the item fires the GalleryItem.Unchecked and Gallery.ItemUnchecked events. To respond to checking and unchecking an item using a single event, use GalleryItem.Click or Gallery.ItemClick.

See Also