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
Item | Value |
---|---|
Identifier field | GroupSizeDefinitionsProperty |
Metadata properties set to true |
None |
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET