RibbonGallery.RowCount Property (2007 System)
Gets or sets the number of rows of RibbonDropDownItem components that this RibbonGallery displays.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
'Declaration
Public Property RowCount As Integer
'Usage
Dim instance As RibbonGallery
Dim value As Integer
value = instance.RowCount
instance.RowCount = value
public int RowCount { get; set; }
public:
property int RowCount {
int get ();
void set (int value);
}
public function get RowCount () : int
public function set RowCount (value : int)
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.
- 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.