RibbonControlService.ControlSizeDefinition Attached Property

Gets or sets the RibbonControlSizeDefinition for this control.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
See GetControlSizeDefinition, SetControlSizeDefinition
See GetControlSizeDefinition, SetControlSizeDefinition
See GetControlSizeDefinition, SetControlSizeDefinition
See GetControlSizeDefinition, SetControlSizeDefinition
See GetControlSizeDefinition, SetControlSizeDefinition

Property Value

Type: Microsoft.Windows.Controls.Ribbon.RibbonControlSizeDefinition
The RibbonControlSizeDefinition for this control. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

ControlSizeDefinitionProperty

Metadata properties set to true

None

Remarks

A RibbonControlSizeDefinition contains properties that specify size and visibility information for the image and label associated with a control. For the default property values, see RibbonControlSizeDefinition.

.NET Framework Security

See Also

Reference

RibbonControlService Class

Microsoft.Windows.Controls.Ribbon Namespace

Other Resources

Ribbon Layout and Resizing