Skip to main content
A newer version of this page is available. .
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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, 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.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

See Also