Interface ICheckBox
A .NET Windows Forms check box.
Inherited Members
Namespace: HP.LFT.SDK.WinForms
Assembly: HP.LFT.SDK.dll
Syntax
public interface ICheckBox : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber
Properties
ErrorText
Returns the tooltip text of the error icon associated with this object.
Declaration
string ErrorText { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsChecked
Indicates whether this check box is checked.
For Three State Checkbox: IsChecked returns true for either a Checked or Indeterminate State.
Declaration
bool IsChecked { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsThreeState
Indicates whether this check box is able to display three check states.
Declaration
bool IsThreeState { get; }
Property Value
| Type | Description |
|---|---|
| bool |
State
The check box status.
Declaration
CheckedState State { get; }
Property Value
| Type | Description |
|---|---|
| CheckedState | Possible values: - Checked - Unchecked - Indeterminate |
Methods
Set(CheckedState)
Sets the value of this check box.
Declaration
void Set(CheckedState state)
Parameters
| Type | Name | Description |
|---|---|---|
| CheckedState | state | The value to be assigned to this check box. Possible values: CheckedState. |