foreground color not getting applied first time in radio button in windows
phone 7, if radio button is disabled
Foreground color not getting applied first time in radio button in windows
phone 7, if radio button is disabled.
Here is my code-
RadioButton1.Foreground = new SolidColorBrush(Color.FromArgb(255, 0, 100,
0));//Green
RadioButton2.Foreground = new SolidColorBrush(Color.FromArgb(255, 255,
255, 255));//White
RadioButton3.Foreground = new SolidColorBrush(Color.FromArgb(255, 255,
255, 255));
RadioButton4.Foreground = new SolidColorBrush(Color.FromArgb(255, 255,
255, 255));
RadioButton1.IsEnabled = false;
RadioButton1.IsChecked = true;
RadioButton2.IsEnabled = false;
RadioButton3.IsEnabled = false;
RadioButton4.IsEnabled = false;
No comments:
Post a Comment