BCGControlBar Library for .NET
SizeToContent Method




Specifies the boundaries to locate the fields of the control.
Called by framework to locate the fields within the specified rectangle. If the AutoResize property is set to true, the size of the control will be resized according to the current date format.
Syntax
'Declaration
 
Public Overridable Sub SizeToContent( _
   ByVal rect As Rectangle _
) 
'Usage
 
Dim instance As ToolbarDateTimeControl
Dim rect As Rectangle
 
instance.SizeToContent(rect)
public virtual void SizeToContent( 
   Rectangle rect
)
public: virtual void SizeToContent( 
   Rectangle rect
) 
public:
virtual void SizeToContent( 
   Rectangle rect
) 

Parameters

rect
Specifies the boundaries to locate the fields of the control.
Requirements

Target Platforms: 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

Reference

ToolbarDateTimeControl Class
ToolbarDateTimeControl Members

Send Feedback