Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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