Intersoft ClientUI Documentation
GroupName Property (ISButton)



Gets or sets a value that determines the group where this toggle button belongs to.
Syntax
<CategoryAttribute("Common Properties")>
Public Overridable Property GroupName As String
Dim instance As ISButton
Dim value As String
 
instance.GroupName = value
 
value = instance.GroupName
[CategoryAttribute("Common Properties")]
public virtual string GroupName {get; set;}
[CategoryAttribute("Common Properties")]
public:
virtual property String^ GroupName {
   String^ get();
   void set (    String^ value);
}
Remarks

To configure a button as toggle button you need to set the IsToggleButton property to True and specify the GroupName that group the buttons together.

Example

The following example shows how to configure GlassButton as toggle button.

XAML
Copy Code
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
        <Intersoft:GlassButton Content="ON" Width="50" GroupName="ToggleGroup" IsToggleButton="True" IsChecked="True"/>
        <Intersoft:GlassButton Content="OFF" Width="50" GroupName="ToggleGroup" IsToggleButton="True"/>
</StackPanel>
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

ISButton Class
ISButton Members

Send Feedback