UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
Set(Boolean) Method
Indicates whether this toggle will be checked.
Sets the state of the object.
Remarks
For Android toggles (where Class="toggleButton"), use Set(string) giving the state to set as the parameter.
Syntax
void Set( 
   bool state
)

Parameters

state
Indicates whether this toggle will be checked.