Skip to main content

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

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