Open topic with navigation

IToggleButton Interface
A .NET WPF toggle button object.

C# 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

| Name | Description
--- | --- | ---
| ButtonTestObject | Returns the IButton test object this toggle button was accessed from.
| IsChecked | Indicates whether this toggle button is checked. For Three State toggle button: IsChecked returns true for either a Checked or Indeterminate State.
| IsThreeState | Indicates whether this toggle button is able to display three check states.
| State | Returns the toggle button status.

Top
Public Methods

| Name | Description
--- | --- | ---
| Set | Sets the value of this toggle button.

Top