Checkbox Methods

Check

Checks the checkbox if it is not already in the correct state. Else it logs that nothing was done.

Syntax:

public void Check()

Exceptions:

IsChecked

Returns true if the checked representation can be found, false if unchecked representation can be found and throws an exception if neither one or the other can be found.

Syntax:

public bool IsChecked()

Return Value:

True, if the checked representation of the checkbox is found. False, if the unchecked representation is found.

Exceptions:

IsUnchecked

Returns true if the unchecked representation can be found, false if checked representation can be found and throws an exception if neither one or the other can be found.

Syntax:

public bool IsUnchecked()

Return Value:

True, if the unchecked representation of the checkbox is found. False, if the checked representation is found.

Exceptions:

Uncheck

Unchecks the checkbox if it is not already in the correct state. Else it logs that nothing was done.

Syntax:

public void Uncheck()

Exceptions:

Last updated