RibbonTab.GroupSizeReductionOrder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property System::Collections::Specialized::StringCollection ^ GroupSizeReductionOrder { System::Collections::Specialized::StringCollection ^ get(); void set(System::Collections::Specialized::StringCollection ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.StringCollectionConverter))]
public System.Collections.Specialized.StringCollection GroupSizeReductionOrder { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.StringCollectionConverter))>]
member this.GroupSizeReductionOrder : System.Collections.Specialized.StringCollection with get, set
Public Property GroupSizeReductionOrder As StringCollection
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.
<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
Identifier field | GroupSizeReductionOrderProperty |
Metadata properties set to true |
None |