Grouping radio buttons by name : RadioButton « Windows Presentation Foundation « VB.Net






Grouping radio buttons by name

Grouping radio buttons by name
     

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">

        <StackPanel>
          <RadioButton GroupName="A">1</RadioButton>
          <RadioButton GroupName="A">2</RadioButton>
          <RadioButton GroupName="B">3</RadioButton>
          <RadioButton GroupName="B">4</RadioButton>
          <RadioButton GroupName="B">5</RadioButton>
        </StackPanel>

</Page>

   
    
    
    
    
  








Related examples in the same category

1.Grouping radio buttons by parentGrouping radio buttons by parent
2.CheckRadio GroupCheckRadio Group
3.Image RadioButtonImage RadioButton
4.RadioButton click eventRadioButton click event
5.Use RadioButton to control TextBox alignmentUse RadioButton to control TextBox alignment
6.RadioButton checked event handlerRadioButton checked event handler