共用方式為


RibbonGallery.RowCount Property

Definition

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

public:
 property int RowCount { int get(); void set(int value); };
public int RowCount { get; set; }
member this.RowCount : int with get, set
Public Property RowCount As Integer

Property Value

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.

Applies to