LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

ClientRectangle Property






Gets a rectangle that represents the client area of the control.
Syntax
Rectangle ClientRectangle {get;}
'Declaration
 
ReadOnly Property ClientRectangle As Rectangle
'Usage
 
Dim instance As IAnnAutomationControl
Dim value As Rectangle
 
value = instance.ClientRectangle
Rectangle ClientRectangle {get;}
get_ClientRectangle(); 
property Rectangle ClientRectangle {
   Rectangle get();
}

Property Value

A System.Drawing.Rectangle that represents the client area of the control.
Remarks

A rectangle that represents the client area of the control. If your control is derived from the standard System.Windows.Forms.Control, then you do not need to implement this property (since the default System.Windows.Forms.Control.ClientRectangle will be used). However, you must trigger the IAnnAutomationControl.AutomationTransformChanged event with the value of the client rectangle is changed, in most cases, by calling IAnnAutomationControl.AutomationTransformChanged from your System.Windows.Forms.Control.SizeChanged event or System.Windows.Forms.Control.OnSizeChanged method.

Example
For an example, refer to IAnnAutomationControl.
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

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.