RibbonControlService.DefaultControlSizeDefinition Attached 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 default RibbonControlSizeDefinition for this control.
see GetDefaultControlSizeDefinition, and SetDefaultControlSizeDefinition
see GetDefaultControlSizeDefinition, and SetDefaultControlSizeDefinition
see GetDefaultControlSizeDefinition, and SetDefaultControlSizeDefinition
Remarks
A RibbonControlSizeDefinition contains properties that specify size and visibility information for the image and label associated with a control. If the ControlSizeDefinition property is not set for a ribbon control, the DefaultControlSizeDefinition property is used instead. The default control size definition is based on the control's property settings. If a LargeImageSource is specified, it is the default. If LargeImageSource is null
, and a SmallImageSource is specified, the SmallImageSource is the default. If both the LargeImageSource and SmallImageSource are null
, the image is set to Collapsed by default. If the Label property is null or empty, it is hidden by default.
Dependency Property Information
Item | Value |
---|---|
Identifier field | DefaultControlSizeDefinitionProperty |
Metadata properties set to true |
None |