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

InDropDownGallery.SynchWithInRibbonGallery Property

Gets or sets whether changes to item check states within the current automatically generated dropdown gallery are reflected by corresponding items in the InRibbonGallery.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public bool SynchWithInRibbonGallery { get; set; }

#Property Value

Type Description
Boolean

true if changes to item check states within the current automatically generated dropdown gallery are reflected by corresponding items in the InRibbonGallery; otherwise, false.

#Remarks

The SynchWithInRibbonGallery property is in effect when checking/unchecking items within the automatically generated dropdown gallery. This property is not in effect for a gallery of the GalleryDropDown control that you manually assign to the RibbonGalleryBarItem.GalleryDropDown property (or to the InRibbonGallery.GalleryDropDown property).

To access the automatically generated dropdown gallery, handle the InRibbonGallery.InitDropDownGallery event and read the e.PopupGallery event parameter. You can then enable this gallery’s SynchWithInRibbonGallery setting.

When an item’s check state is changed, the BaseGallery.ItemCheckedChanged event fires.

See Also