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.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