Intersoft ClientUI Documentation
UXToggleButton Class

Represents a toggle button with three-state check behavior.
Object Model
UXToggleButton ClassISFramework ClassStylishLabel Class

UXToggleButton derives from UXButton, which means it exposes many of the features available in UXButton, such as ImageContent presentation model, default and cancel button, dialog result, commanding, navigation, and more. To learn about the common features of button, see UXButton Overview.

Unlike command button, UXToggleButton supports three state toggle mode: Checked, Unchecked and Indeterminate, which can be enabled through IsThreeState property. Consequently, you use the CheckedState property which implement nullable boolean type to get or set the checked state of the toggle button.

The following example shows how to setup the UXToggleButton to use three state checked mode, and set the initial state to Indeterminate by setting the CheckedState property to {x:Null}.

Copy Code
<Intersoft:UXToggleButton Content="Always ship on the same day"
                          CheckedState="{x:Null}" />

For more information about UXToggleButton, see UXToggleButton Overview.

Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


UXToggleButton Members
Intersoft.Client.UI.Aqua Namespace

Send Feedback