Share via


RibbonButton.ControlSizeDefinition Property

Gets or sets the RibbonControlSizeDefinition for this control.

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

Syntax

'Declaration
Public Property ControlSizeDefinition As RibbonControlSizeDefinition
public RibbonControlSizeDefinition ControlSizeDefinition { get; set; }
public:
property RibbonControlSizeDefinition^ ControlSizeDefinition {
    RibbonControlSizeDefinition^ get ();
    void set (RibbonControlSizeDefinition^ value);
}
member ControlSizeDefinition : RibbonControlSizeDefinition with get, set
function get ControlSizeDefinition () : RibbonControlSizeDefinition
function set ControlSizeDefinition (value : RibbonControlSizeDefinition)

Property Value

Type: Microsoft.Windows.Controls.Ribbon.RibbonControlSizeDefinition
The RibbonControlSizeDefinition for this control.

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

RibbonButton Class

Microsoft.Windows.Controls.Ribbon Namespace

Other Resources

Ribbon Layout and Resizing