Skip to main content

BaseGallery.SetItemCheck(GalleryItem, Boolean) Method

Checks or unchecks the specified item. If multiple item checking is enabled and the CTRL or SHIFT key is currently pressed, the SetItemCheck method doesn’t uncheck the previously checked items. Otherwise, these items are unchecked.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void SetItemCheck(
    GalleryItem item,
    bool newValue
)

Parameters

Name Type Description
item GalleryItem

A GalleryItem to be checked/unchecked.

newValue Boolean

A Boolean value that specifies the new value for the item’s GalleryItem.Checked property.

See Also