←Select platform

ClientRectangle Property

Summary

Gets a rectangle that represents the client area of the control.

Syntax

C#
VB
C++
Rectangle ClientRectangle {get;} 
  
ReadOnly Property ClientRectangle As Rectangle 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations Assembly
Click or drag to resize