General Windows component properties
Use the Windows properties to define Windows controls in your automation.
Gets or sets the text associated with this control. (String) Note: This property will not return anything for Common
List Controls as these controls do not have a Text property.
Gets the identity of the control. Here is an example:
Sets the matching status of application controls when they are
hidden at runtime. Set this property to True to have the control become unmatched
when hidden (it will be automatically rematched when the target
is shown). Set to False to have the control remain matched when
hidden. Note that if this property is set to True and the control is
hidden, you cannot use the Rematch or RematchChildren methods to
rematch the hidden target. For more information, see Working
with Hidden Forms. Property Description Bottom Gets the distance, in pixels, between the bottom edge of the
control and the top edge of its container's client area. BoundsRectangle Gets or sets the size and location of the control including its
non-client elements, in pixels, relative to the parent control.
(Rectangle) ClientRectangle Gets the rectangle that represents the client area of the
control. Enabled Gets or sets a value that indicates whether the control can
respond to user interaction. (Boolean) FullName Gets the fully qualified name of the control, such as
CRM.txtName. (String) Focused Gets a value that indicates whether the control has input focus.
(Boolean) Height Gets or sets the height of the control. (Int32) IsCreated Indicates whether the control has been created (matched).
(Boolean) IsDisposed Property included for as part of system references. It is not,
however, used in automations. Key Gets or sets the unique Key value for the control. This property
is used for applications that contain cloned targets. For more
information, see Cloned Controls. (String) Left Gets or sets the distance, in pixels, between the left edge of
the control and the left edge of its container's client area.
(Int32) Location Gets or sets the location that represents the top left area of
the control. (Point) MaskEventText See the Configure Monitored Events topic for more information on
this property. MaskEventValue See the Configure Monitored Events topic for more information on
this property. Name Gets or sets the name assigned to the control. (String) NextKey Sets the key value that will be assigned to the next clone
created. This property is used for applications that contain cloned
targets.For more information, see Cloned Controls. (String) Right Gets the distance, in pixels, between the right edge of the
control and the left edge of its container's client area. (Int32)
ScreenRectangle Gets the rectangle that represents the screen area of the
control. Size Gets or sets the size of the control. (Size) TargetName Gets the name that was assigned to the target TargetType Gets assembly and type for the control, such as
OpenSpan.Adapters.Windows.Targets.TextBox. (TargetType) Text This A reference to the control object. (Object) Timeout Specifies the timeout interval for the Created event in
milliseconds. (Int32) Top Gets the visibility of the control. (Boolean) UniqueID WindowsAdapter-8CC89A3AD46E95C\RichTextBox-8CC89A3D72635FC
UnmatchOnHidden UseKeys Use this property to specify whether clones of this control can
be created when multiple matching targets are found. For more
information, see Cloned Controls. Set to True to enable creating
clones. The default is False. (Boolean) Visible Sets or gets a True/False value that indicates whether the
control is displayed. WaitHandle Allows callers to wait for the component's creation signal when
using the WaitAny or WaitAll components. Type: WaitHandle Width Gets or sets the width of the control. (Int32)
Previous topic Windows application properties Next topic General Windows component methods