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 default RibbonControlSizeDefinition for this control.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
See GetDefaultControlSizeDefinition, SetDefaultControlSizeDefinition
See GetDefaultControlSizeDefinition, SetDefaultControlSizeDefinition
See GetDefaultControlSizeDefinition, SetDefaultControlSizeDefinition
See GetDefaultControlSizeDefinition, SetDefaultControlSizeDefinition
See GetDefaultControlSizeDefinition, SetDefaultControlSizeDefinition
Property Value
Type: Microsoft.Windows.Controls.Ribbon.RibbonControlSizeDefinition
The default RibbonControlSizeDefinition for this control. The registered default is nulla null reference (Nothing in Visual Basic). 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
A RibbonControlSizeDefinition contains properties that specify size and visibility information for the image and label associated with a control. If the ControlSizeDefinition property is not set for a ribbon control, the DefaultControlSizeDefinition property is used instead. The default control size definition is based on the control’s property settings. If a LargeImageSource is specified, it is the default. If LargeImageSource is nulla null reference (Nothing in Visual Basic), and a SmallImageSource is specified, the SmallImageSource is the default. If both the LargeImageSource and SmallImageSource are nulla null reference (Nothing in Visual Basic), the image is set to Collapsed by default. If the Label property is null or empty, it is hidden by default.
.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
Microsoft.Windows.Controls.Ribbon Namespace