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.v21.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsChecked property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.