<RadioButton x:Name="RadioButtonGenderInSubtitleDataGridFEMALE" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Stretch" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Foreground="White" BorderThickness="1" Content="" ClickMode="Release" IsChecked="False"> <RadioButton.Style> <Style TargetType="RadioButton"> <Style.Triggers> <DataTrigger Binding="{Binding GenderOfCharacter}" Value="Female"> <Setter Property="IsChecked" Value="True"/> </DataTrigger> <DataTrigger Binding="{Binding GenderOfCharacter}" Value="Male"> <Setter Property="IsChecked" Value="False"/> </DataTrigger> </Style.Triggers> </Style> </RadioButton.Style> </RadioButton>
boolean
IValueConverter
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)