BaseGallery.SetItemCheck(GalleryItem, Boolean, Boolean) Method
In This Article
Checks or unchecks the specified item, while allowing you to specify whether the previously checked items should be unchecked.
Namespace: DevExpress.XtraBars.Ribbon.Gallery
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual void SetItemCheck(
GalleryItem item,
bool newValue,
bool unselectOtherItems
)
#Parameters
Name | Type | Description |
---|---|---|
item | Gallery |
A Gallery |
new |
Boolean | A Boolean value that specifies the new value for the item’s Gallery |
unselect |
Boolean | true to uncheck the previously checked items; false to retain the items’ check states (this option is in effect only when multiple item checking is enabled). |
See Also