Version

AutoSizeControlBase Class

Abstract base control class for controls that automatically size based on their contents.
Syntax
'Declaration
 
Public MustInherit Class AutoSizeControlBase 
   Inherits ControlBase
   Implements Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IImageListProvider, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation 
public abstract class AutoSizeControlBase : ControlBase, Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IImageListProvider, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation  
Remarks

The AutoSizeControlBase class is an abstract base class for a control that will size based on its contents, which is usually the image and text. The AutoSize property will determine if autosizing is enabled. When set to true, the control will be sized based on the System.Windows.Forms.Control.PreferredSize.

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