RibbonGalleryCategory.MaxColumnCount Property

.NET Framework (current version)
 

Gets or sets a value that specifies the maximum number of columns used to lay out items in a gallery ItemsPanel.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public int MaxColumnCount { get; set; }

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.

.NET Framework
Available since 4.5
Return to top
Show: