Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the maximum width constraint of a container control in a Ribbon.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property MaxWidth As RibbonControlLength
public RibbonControlLength MaxWidth { get; set; }
public:
property RibbonControlLength MaxWidth {
RibbonControlLength get ();
void set (RibbonControlLength value);
}
member MaxWidth : RibbonControlLength with get, set
function get MaxWidth () : RibbonControlLength
function set MaxWidth (value : RibbonControlLength)
Property Value
Type: Microsoft.Windows.Controls.Ribbon.RibbonControlLength
The maximum width of the control. The registered default is Double.PositiveInfinity. For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RibbonControlSizeDefinition Class
Microsoft.Windows.Controls.Ribbon Namespace