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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.