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, Boolean) Method

In This Article

Checks or unchecks the specified item, while allowing you to specify whether the previously checked items should be unchecked.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual void SetItemCheck(
    GalleryItem item,
    bool newValue,
    bool unselectOtherItems
)

#Parameters

Name Type Description
item GalleryItem

A GalleryItem object to be checked/unchecked.

newValue Boolean

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

unselectOtherItems Boolean

true to uncheck the previously checked items; false to retain the items’ check states (this option is in effect only when multiple item checking is enabled).

See Also