Share via


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

See Also

Reference

RibbonGallery Class

RibbonGallery Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview