title: Selecting single radio button, wpf
body: <p>I need to put on my window 3 radio buttons and to make a user to chose only one button.
  I made a ListBox and set Selection mode = Single but i still can choose all of them , i need to wrap each item in something...i don't know what and how. Can anyone help? Maybe there is another way for presenting radio buttons and choosing only one...?</p>
  
  <p>here is the xaml - </p>
  
  <pre><code>&lt;ListBox SelectionMode="Single" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" Background="Transparent" BorderThickness="0" Margin="0,0,0,57" HorizontalAlignment="Right" Width="304" Height="146" VerticalAlignment="Bottom"&gt;
          &lt;ListBoxItem&gt;
              &lt;RadioButton Content="Option 1" Margin="0,0,0,10" Height="16" HorizontalAlignment="Left"  Name="radioButton1" VerticalAlignment="Top" FontSize="12" /&gt;
          &lt;/ListBoxItem&gt;
          &lt;ListBoxItem&gt;
              &lt;RadioButton Content="Option 2" Margin="0,0,0,10" Height="16" HorizontalAlignment="Left"  Name="radioButton2" VerticalAlignment="Top" FontSize="12" /&gt;
          &lt;/ListBoxItem&gt;
          &lt;ListBoxItem&gt;
              &lt;StackPanel Orientation="Horizontal" Height="90"&gt;
                  &lt;RadioButton Content="Another : " Checked="radioButton4_Checked" Height="16" HorizontalAlignment="Left"  Name="radioButton4" VerticalAlignment="Top" FontSize="12" /&gt;
                  &lt;TextBox Width="225" Name="TextBox_AnotherReason" AcceptsReturn="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Visible"/&gt;
              &lt;/StackPanel&gt;
          &lt;/ListBoxItem&gt;
      &lt;/ListBox&gt; 
  </code></pre>