Share via


RibbonControlSizeDefinition.MinWidth Property

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

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

Syntax

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

Property Value

Type: Microsoft.Windows.Controls.Ribbon.RibbonControlLength
The minimum width of the control. The registered default is 0. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

MinWidthProperty

Metadata properties set to true

None

Remarks

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

.NET Framework Security

See Also

Reference

RibbonControlSizeDefinition Class

Microsoft.Windows.Controls.Ribbon Namespace

Other Resources

Ribbon Layout and Resizing