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.v20.1.dll


public bool IsChecked { get; set; }
Public Property IsChecked As Boolean

Property Value

Type Description

true if the item is checked; otherwise, false.


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