Version

MinimumSizeOnRibbon Property

Gets or sets the minimum size of the ToolBase instance when sited in a RibbonGroup.
Syntax
'Declaration
 
Public Property MinimumSizeOnRibbon As RibbonToolSize
public RibbonToolSize MinimumSizeOnRibbon {get; set;}

Property Value

The minimum size of the ToolBase instance when sited in a RibbonGroup.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe property is modified at design-time for a tool in an UltraToolbarsManager defined on a base Form or UserControl. Inherited tools must be modified at run-time or at design-time through the designer of the Form or UserControl they were created on.
System.ComponentModel.InvalidEnumArgumentExceptionThe value assigned is not defined in the RibbonToolSize enumeration.
Remarks

The minimum size will prevent the tool from becoming too small when the user is resizing the ribbon smaller.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also