RibbonControlSizeDefinition.Width Property
Gets or sets the width of a container control in a Ribbon.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property Width As RibbonControlLength
public RibbonControlLength Width { get; set; }
public:
property RibbonControlLength Width {
RibbonControlLength get ();
void set (RibbonControlLength value);
}
member Width : RibbonControlLength with get, set
function get Width () : RibbonControlLength
function set Width (value : RibbonControlLength)
Property Value
Type: Microsoft.Windows.Controls.Ribbon.RibbonControlLength
The width of the control. The registered default is Auto. 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