RibbonControlSizeDefinition.Width Property

Definition

Gets or sets the width of a container control in a Ribbon.

public:
 property System::Windows::Controls::Ribbon::RibbonControlLength Width { System::Windows::Controls::Ribbon::RibbonControlLength get(); void set(System::Windows::Controls::Ribbon::RibbonControlLength value); };
public System.Windows.Controls.Ribbon.RibbonControlLength Width { get; set; }
member this.Width : System.Windows.Controls.Ribbon.RibbonControlLength with get, set
Public Property Width As RibbonControlLength

Property Value

The width of the control. The registered default is Auto. For more information about what can influence the value, see Dependency Property Value Precedence.

Remarks

This property only has an effect if the control is a container for other objects.

Dependency Property Information

Identifier field WidthProperty
Metadata properties set to true None

Applies to

See also