Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
<TypeConverterAttribute(GetType(StringCollectionConverter))> _
Public Property GroupSizeReductionOrder As StringCollection
[TypeConverterAttribute(typeof(StringCollectionConverter))]
public StringCollection GroupSizeReductionOrder { get; set; }
[TypeConverterAttribute(typeof(StringCollectionConverter))]
public:
property StringCollection^ GroupSizeReductionOrder {
StringCollection^ get ();
void set (StringCollection^ value);
}
[<TypeConverterAttribute(typeof(StringCollectionConverter))>]
member GroupSizeReductionOrder : StringCollection with get, set
function get GroupSizeReductionOrder () : StringCollection
function set GroupSizeReductionOrder (value : StringCollection)
Property Value
Type: System.Collections.Specialized.StringCollection
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 nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
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>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Controls.Ribbon Namespace