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 |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기