Intersoft ClientUI Documentation
UXRadioButton Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua Namespace : UXRadioButton Class






Represents a radio button control that user can select when clicking it. The selected radio button will automatically clear the other radio buttons within the same GroupName.

Object Model

UXRadioButton Class

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Represents a radio button control that user can select when clicking it. The selected radio button will automatically clear the other radio buttons within the same GroupName.")>
Public Class UXRadioButton 
   Inherits UXToggleButton
   Implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocus 
Visual Basic (Usage)Copy Code
Dim instance As UXRadioButton
C# 
[DescriptionAttribute("Represents a radio button control that user can select when clicking it. The selected radio button will automatically clear the other radio buttons within the same GroupName.")]
public class UXRadioButton : UXToggleButton, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocus  
Delphi 
public class UXRadioButton = class(UXToggleButton, IControl, IFramework, ILicensing, INavigationSource, INavigationSupport, ICommandSource, IKeyboardFocus)
JScript 
DescriptionAttribute("Represents a radio button control that user can select when clicking it. The selected radio button will automatically clear the other radio buttons within the same GroupName.")
public class UXRadioButton extends UXToggleButton implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocus 
Managed Extensions for C++ 
[DescriptionAttribute("Represents a radio button control that user can select when clicking it. The selected radio button will automatically clear the other radio buttons within the same GroupName.")]
public __gc class UXRadioButton : public UXToggleButton, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocus  
C++/CLI 
[DescriptionAttribute("Represents a radio button control that user can select when clicking it. The selected radio button will automatically clear the other radio buttons within the same GroupName.")]
public ref class UXRadioButton : public UXToggleButton, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocus  

Remarks

You use UXRadioButton to allow users to select one of a range of options. UXRadioButton works similar to UXToggleButton in many ways except they use different kind of presentation.

Since UXRadioButton indirectly derives from UXButton, 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 the button, see UXButton Overview.

The following example shows how to create a number of UXRadioButton instances to represent a group of choices.

XAML Copy Code
<StackPanel>
        <Intersoft:UXRadioButton Content="Use server timezone" 
                                 VerticalContentAlignment="Center" 
                                 CheckedState="True"/>

        <Intersoft:UXRadioButton Content="Choose custom timezone" 
                                 VerticalContentAlignment="Center"/>
</StackPanel>

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.UXRadioButton
                                    Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonRadioButton

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.