title: How to allow user to change focus of control after validate event using Devexpress Validation in WPF using C#?
body: <p>I have two <code>Radio Buttons</code> with options 'New' &amp; 'Existing'. I have a Validate event for <code>Devexpress TextEdit</code> if <code>TextEdit</code> is empty and shows error icon in <code>TextEdit</code>. 
  <em>Scenario:</em> When i Select 'New' <code>Radio button</code> and leave TextEdit Empty and click on 'Save' then it shows Error icon, this works fine. <strong><em>But, When i try to switch to 'Existing' <code>Radion button</code> then it do not allow me to switch/change the option instead it stuck to 'New' option due to validation. But, i want to allow the user to change option of Radio button.</em></strong></p>
  
  <p>Xaml:</p>
  
  <pre><code>&lt;RadioButton x:Name="rbNew" Content="New Mapping" Grid.Column="1" HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Top" GroupName="Mappings" GotFocus="rbNew_GotFocus"/&gt;
                      &lt;dxe:TextEdit x:Name="txtMappingName" Grid.Column="1" Height="23" Margin="0,31,0,0" TextWrapping="Wrap" VerticalAlignment="Top" MaxLength="100" Grid.RowSpan="2" GotFocus="txtMappingName_GotFocus" Validate="txtMappingName_Validate" /&gt;
                      &lt;RadioButton  x:Name="rbExisting" Content="Existing Mapping" Grid.Column="1" HorizontalAlignment="Left" Margin="0,6,0,0" VerticalAlignment="Top" Grid.Row="1" GroupName="Mappings"/&gt;
  </code></pre>
  
  <p>xaml.cs</p>
  
  <pre><code>  private void txtMappingName_Validate(object sender, DevExpress.Xpf.Editors.ValidationEventArgs e)
          {
              if ((bool)rbNew.IsChecked &amp;&amp; string.IsNullOrEmpty(e.Value as string))
              {
                  e.IsValid = false;
                  e.ErrorContent = "Required";
                  e.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning;
              }
          }
  </code></pre>
  
  <p>Help Appreciated!
  Thanks!</p>