RibbonGallery.ColumnCount Property (2007 System)
Gets or sets the number of Item columns in this RibbonGallery.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property ColumnCount As Integer
'Usage
Dim instance As RibbonGallery
Dim value As Integer
value = instance.ColumnCount
instance.ColumnCount = value
public int ColumnCount { get; set; }
public:
property int ColumnCount {
int get ();
void set (int value);
}
public function get ColumnCount () : int
public function set ColumnCount (value : int)
Property Value
Type: System.Int32
The number of Item columns in this RibbonGallery.
Remarks
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