Package com.hp.lft.sdk.wpf
Interface ToggleButton
public interface ToggleButton
A .NET WPF toggle button control
 Note: To create an instance of this interface, first create a Button instance for a button with toggle behavior, and then return the ToggleButton using the Button.getToggleButton method.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the Button test object, from which this toggle button was accessed.getState()Returns the toggle button status.booleanIndicates whether the toggle button is checked.booleanIndicates whether the toggle button is able to display three check states.voidset(CheckedState state) Sets the status of the toggle button.
- 
Method Details- 
getButtonTestObjectButton getButtonTestObject()Returns the Button test object, from which this toggle button was accessed.- Returns:
- the Button test object, from which this toggle button was accessed.
 
- 
getStateReturns the toggle button status.- Returns:
- the toggle button status.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setSets the status of the toggle button.- Parameters:
- state- the status to be assigned to the toggle button.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isCheckedIndicates whether the toggle button is checked.
 For Three State toggle button: IsChecked will return true for either a Checked or Indeterminate State.- Returns:
- true, if the check box is checked.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isThreeStateIndicates whether the toggle button is able to display three check states.- Returns:
- true, if the toggle button is able to display three check states.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-