Επεξεργασία

Κοινή χρήση μέσω


RibbonControlService.DefaultControlSizeDefinition Attached Property

Definition

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

Identifier field DefaultControlSizeDefinitionProperty
Metadata properties set to true None

Applies to

See also