Leadtools.Annotations Namespace > IAnnAutomationControl Interface : ClientRectangle Property |
Rectangle ClientRectangle {get;}
'Declaration ReadOnly Property ClientRectangle As Rectangle
'Usage Dim instance As IAnnAutomationControl Dim value As Rectangle value = instance.ClientRectangle
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.