Version

ButtonGroup Class

A Panel derived element used to arrange logically related tools horizontally within a RibbonGroup.
Syntax
'Declaration
 
Public Class ButtonGroup 
   Inherits System.Windows.Controls.Panel
public class ButtonGroup : System.Windows.Controls.Panel 
Remarks

The ButtonGroup panel is used to provide tool a single grouping of tools within a RibbonGroup similar to the groupings displayed within the Font group of the Home tab in Microsoft Word 2007. Items within the panel will have attached properties (IsFirstInButtonGroupProperty, IsInButtonGroupProperty and IsLastInButtonGroupProperty) set to indicate their position within the panel.

Note: Each of the contained tools' RibbonToolSizingMode is set to 'ImageOnly'; the value of the RibbonGroup.MinimumSizeProperty will not be honored.

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