バージョン

VerticalToolAlignment プロパティ

列内に存在する小さい項目が 3 つ未満の時にどのように項目が垂直方向に配列されるかを決定する値を返す/設定します。
シンタックス
'宣言
 
Public Property VerticalToolAlignment As RibbonPanelVerticalToolAlignment
public RibbonPanelVerticalToolAlignment VerticalToolAlignment {get; set;}
使用例
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>
参照