Back to Devexpress

InDropDownGallery.SynchWithInRibbonGallery Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-indropdowngallery-2741e174.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public bool SynchWithInRibbonGallery { get; set; }
vb
<Browsable(False)>
Public Property SynchWithInRibbonGallery As Boolean

Property Value

TypeDescription
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

ItemCheckMode

ItemCheckedChanged

Checked

InDropDownGallery Class

InDropDownGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace