RibbonTab.GroupSizeReductionOrder Property

Definition

Gets or sets a collection of RibbonGroup names that specify the order in which group size definitions are applied as the ribbon is reduced in size.

C#
[System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.StringCollectionConverter))]
public System.Collections.Specialized.StringCollection GroupSizeReductionOrder { get; set; }

Property Value

A collection of RibbonGroup names that specify the order in which group size definitions are applied as the Ribbon is reduced in size. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

Attributes

Examples

The following example shows how to specify the GroupSizeReductionOrder.

XAML
<ribbon:RibbonTab Header="Home" 
    GroupSizeReductionOrder="Clipboard, Insert, Insert, Paragraph, Clipboard, Editing, Font, Clipboard" >
    <ribbon:RibbonGroup Header="Clipboard" Name="Clipboard" SmallImageSource="Images/Paste16.png">
        ...  
    </ribbon:RibbonGroup>
    <ribbon:RibbonGroup Header="Font" Name="Font" SmallImageSource="Images\FontColor16.png">
        ...
    </ribbon:RibbonGroup>
    <ribbon:RibbonGroup Header="Paragraph" Name="Paragraph" SmallImageSource="Images/AlignLeft16.png">
        ...
    </ribbon:RibbonGroup>
    <ribbon:RibbonGroup Header="Insert" Name="Insert" SmallImageSource="Images/InsertPicture16.png">
        ...
    </ribbon:RibbonGroup>
    <ribbon:RibbonGroup Header="Editing" Name="Editing" SmallImageSource="Images/Find16.png">
        ...
    </ribbon:RibbonGroup>
</ribbon:RibbonTab>

Remarks

Dependency Property Information

Item Value
Identifier field GroupSizeReductionOrderProperty
Metadata properties set to true None

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also