Intersoft ClientUI Documentation
How-to: Use Toggle Button to Provide a Group Selection

This example shows how to use UXToggleButton to capture the selection of a group of buttons.

Example

Description

UXToggleButton is a rich, Aero-style button with toggle functionality supporting self and group-toggle feature. The group toggle feature can be enabled by using GroupName property as shown below.

Code

XAML
Copy Code
<Intersoft:UXStackPanel Height="45" HorizontalAlignment="Center" Name="uXStackPanel1" VerticalAlignment="Center" Width="332">
    <Intersoft:UXToggleButton Content="Visa" Name="uXToggleButton1" Margin="4" Width="75" GroupName="PaymentMethod"/>
    <Intersoft:UXToggleButton Content="MasterCard" Name="uXToggleButton2" Margin="4" Width="75" GroupName="PaymentMethod"/>
    <Intersoft:UXToggleButton Content="Amex" Name="uXToggleButton3" Margin="4" Width="75" GroupName="PaymentMethod"/>
</Intersoft:UXStackPanel>
See Also

Concepts

Other Resources