Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseGallery.SetItemCheck(GalleryItem, Boolean) Method

In This Article

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

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