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.v20.1.dll

Declaration

public void SetItemCheck(
    GalleryItem item,
    bool newValue
)
Public Sub SetItemCheck(
    item As GalleryItem,
    newValue As Boolean
)

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