Componentone Toolbar for WPF and Silverlight
C1Toolbar Task-Based Help / Aligning Toolbar Buttons
In This Topic
    Aligning Toolbar Buttons
    In This Topic

    The following XAML shows how to align the toolbar buttons in the center of the group panel:

    XAML
    Copy Code
    <c1:C1ToolbarGroup Header="Group" >
    
      <c1:C1ToolbarGroup.ItemsPanel>
    
       <ItemsPanelTemplate>
    
          <c1:C1ToolbarGroupPanel HorizontalAlignment="Center" />
    
        </ItemsPanelTemplate>
    
      </c1:C1ToolbarGroup.ItemsPanel>