'Declaration Public Class ToolHorizontalWrapPanel Inherits System.Windows.Controls.Panel
public class ToolHorizontalWrapPanel : System.Windows.Controls.Panel
The MinRows and MaxRows are used to determine the range of rows into which the items may be arranged. By default, the panel will arrange the items using the MinRows. When a GroupVariant with a GroupVariant.ResizeAction of IncreaseHorizontalWrapRowCount is processed, the RowCount is increased towards the MaxRows value.
The SortOrderProperty attached property can be used to determine the order of the items when the RowCount is increased above the MinRows value. By default 2 rows will be created. If the containing RibbonGroup is resized smaller and there is not enough room on 2 rows for all the tools, the tools will be re-arranged on 3 rows and possibly reordered based on the SortOrderProperty attached property (potentially) assigned to each tool.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2