Table of Contents

Interface ICheckBox

Namespace
HP.LFT.SDK.WinForms
Assembly
HP.LFT.SDK.dll

A .NET Windows Forms check box.

public interface ICheckBox : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber
Inherited Members
Extension Methods

Properties

ErrorText

Returns the tooltip text of the error icon associated with this object.

string ErrorText { get; }

Property Value

string

IsChecked

Indicates whether this check box is checked.

For Three State Checkbox: IsChecked returns true for either a Checked or Indeterminate State.

bool IsChecked { get; }

Property Value

bool

IsThreeState

Indicates whether this check box is able to display three check states.

bool IsThreeState { get; }

Property Value

bool

State

The check box status.

CheckedState State { get; }

Property Value

CheckedState

Possible values:

- Checked

- Unchecked

- Indeterminate

Methods

Set(CheckedState)

Sets the value of this check box.

void Set(CheckedState state)

Parameters

state CheckedState

The value to be assigned to this check box. Possible values: CheckedState.