RibbonGallery.RowCount Property

Gets or sets the number of rows of RibbonDropDownItem components that this RibbonGallery displays.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

int RowCount { get; set; }

Property Value

Type: System.Int32
The number of rows of RibbonDropDownItem components that this RibbonGallery displays.

This RibbonGallery scrolls if it has more RibbonDropDownItem components than can be displayed.

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft