Intersoft ClientUI Documentation
UXToggleButton Class
Members 



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

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}.

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

For more information about UXToggleButton, see UXToggleButton Overview.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  System.Windows.Controls.Primitives.ButtonBase
                     System.Windows.Controls.Button
                        Intersoft.Client.Framework.ISButton
                           Intersoft.Client.UI.Aqua.UXButton
                              Intersoft.Client.UI.Aqua.UXToggleButton
                                 Intersoft.Client.UI.Aqua.UXCheckBox
                                 Intersoft.Client.UI.Aqua.UXFlatToggleButton
                                 Intersoft.Client.UI.Aqua.UXRadioButton
                                 Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonToggleButton
                                 Intersoft.Client.UI.Data.UXGridViewExpanderButton

Requirements

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

Reference

UXToggleButton Members
Intersoft.Client.UI.Aqua Namespace

Send Feedback