'Declaration Public Class ToolVerticalWrapPanel Inherits System.Windows.Controls.Panel
public class ToolVerticalWrapPanel : System.Windows.Controls.Panel
This is the default panel for a RibbonGroup, but it can also be used explicitly to control the vertical distribution of a subset of tools within a RibbonGroup using the VerticalToolAlignment property.
Dim b1 As New ButtonTool() b1.Caption = "B1" Dim b2 As New ButtonTool() b2.Caption = "B2" Dim toolVWrapPanel As New ToolVerticalWrapPanel() toolVWrapPanel.VerticalToolAlignment = RibbonPanelVerticalToolAlignment.Bottom toolVWrapPanel.Children.Add(b1) toolVWrapPanel.Children.Add(b2)
ButtonTool b1 = new ButtonTool(); b1.Caption = "B1"; ButtonTool b2 = new ButtonTool(); b2.Caption = "B2"; ToolVerticalWrapPanel toolVWrapPanel = new ToolVerticalWrapPanel(); toolVWrapPanel.VerticalToolAlignment = RibbonPanelVerticalToolAlignment.Bottom; toolVWrapPanel.Children.Add(b1); toolVWrapPanel.Children.Add(b2);
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