RibbonGroup.GroupSizeDefinitions 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 the RibbonGroupSizeDefinition collection for a ribbon group.
public:
property System::Windows::Controls::Ribbon::RibbonGroupSizeDefinitionBaseCollection ^ GroupSizeDefinitions { System::Windows::Controls::Ribbon::RibbonGroupSizeDefinitionBaseCollection ^ get(); void set(System::Windows::Controls::Ribbon::RibbonGroupSizeDefinitionBaseCollection ^ value); };
public System.Windows.Controls.Ribbon.RibbonGroupSizeDefinitionBaseCollection GroupSizeDefinitions { get; set; }
member this.GroupSizeDefinitions : System.Windows.Controls.Ribbon.RibbonGroupSizeDefinitionBaseCollection with get, set
Public Property GroupSizeDefinitions As RibbonGroupSizeDefinitionBaseCollection
Property Value
A collection of RibbonGroupSizeDefinition objects that describe how to size controls in the group for different sizes of the RibbonGroup.
Examples
The following example shows a GroupSizeDefinitions collection that specifies three different group sizes.
<ribbon:RibbonGroup.GroupSizeDefinitions>
<ribbon:RibbonGroupSizeDefinition>
<ribbon:RibbonControlSizeDefinition ImageSize="Large" IsLabelVisible="True" />
<ribbon:RibbonControlSizeDefinition ImageSize="Small" IsLabelVisible="True" />
<ribbon:RibbonControlSizeDefinition ImageSize="Small" IsLabelVisible="True" />
</ribbon:RibbonGroupSizeDefinition>
<ribbon:RibbonGroupSizeDefinition>
<ribbon:RibbonControlSizeDefinition ImageSize="Large" IsLabelVisible="True" />
<ribbon:RibbonControlSizeDefinition ImageSize="Small" IsLabelVisible="False" />
<ribbon:RibbonControlSizeDefinition ImageSize="Small" IsLabelVisible="False" />
</ribbon:RibbonGroupSizeDefinition>
<ribbon:RibbonGroupSizeDefinition IsCollapsed="True" />
</ribbon:RibbonGroup.GroupSizeDefinitions>
Remarks
Dependency Property Information
Identifier field | GroupSizeDefinitionsProperty |
Metadata properties set to true |
None |
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET