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)
Syntax
'Declaration
Property RowCount As Integer
int RowCount { get; set; }
Property Value
Type: System.Int32
The number of rows of RibbonDropDownItem components that this RibbonGallery displays.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace