Edit

Share via


RibbonControlSizeDefinition.MaxWidth Property

Definition

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

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

Property Value

The maximum width of the control. The registered default is PositiveInfinity. 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 MaxWidthProperty
Metadata properties set to true None

Applies to

See also