Version

VerticalToolAlignment Property

Returns/sets a value that determines how items are arranged vertically when there are less than 3 small items within a column.
Syntax
'Declaration
 
Public Property VerticalToolAlignment As RibbonPanelVerticalToolAlignment
public RibbonPanelVerticalToolAlignment VerticalToolAlignment {get; set;}
Example
ToolVerticalWrapPanel 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);
<igRibbon:ToolVerticalWrapPanel VerticalToolAlignment="Bottom">
   
<igRibbon:ButtonTool Id="B1" Caption="B1" />
   
<igRibbon:ButtonTool Id="B2" Caption="B2" />
</igRibbon:ToolVerticalWrapPanel>
Requirements

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

See Also