RibbonControlSizeDefinition.MaxWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Item | Value |
---|---|
Identifier field | MaxWidthProperty |
Metadata properties set to true |
None |
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.