mardi 30 janvier 2018

c# WPF radio button only showing checked on mouse over in Server 2012 R2 (gif included)

Using C# with .net 4.6.2

I am getting a strange problem with BOTH check boxes and radio buttons on Server 2012 R2. It works correctly on ANY other OS and also works if I use .net 4.0. They only show they are checked when I mouse over them.

Strange

Here is the XAML code:

                    <RadioButton x:Name="reset_radio" Content="Reset" Foreground="White"
                                 Margin="114,362,0,0" Height="26"
                                 HorizontalAlignment="Left" VerticalAlignment="Top" VerticalContentAlignment="Center"
                                 FontFamily="Segoe UI" FontSize="16" FontWeight="Bold"
                                 GroupName="ModifyUsersRadio"
                                 IsTabStop="False"
                                 IsChecked="{Binding Reset_Checked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>

At a total loss here why it would be doing this.




Aucun commentaire:

Enregistrer un commentaire