UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
IToggleButton Interface
A .NET WPF toggle button object.
Syntax
public interface IToggleButton 
Remarks
To create an instance of this interface, first create an IButton instance for a button with toggle behavior, and then return the IToggleButton using the IButton.ToggleButton property.
Public Properties
 NameDescription
 PropertyButtonTestObjectReturns the IButton test object this toggle button was accessed from.  
 PropertyIsCheckedIndicates whether this toggle button is checked.

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

 
 PropertyIsThreeStateIndicates whether this toggle button is able to display three check states.  
 PropertyStateReturns the toggle button status.  
Top
Public Methods
 NameDescription
 MethodSetSets the value of this toggle button.  
Top