RibbonGalleryCategory.MaxColumnCount Property
Gets or sets a value that specifies the maximum number of columns used to lay out items in a gallery ItemsPanel.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property MaxColumnCount As Integer
public int MaxColumnCount { get; set; }
public:
property int MaxColumnCount {
int get ();
void set (int value);
}
member MaxColumnCount : int with get, set
function get MaxColumnCount () : int
function set MaxColumnCount (value : int)
Property Value
Type: System.Int32
The maximum number of columns used to lay out items in a gallery ItemsPanel. The registered default is Int32.MaxValue. For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
.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.