Click here to Skip to main content
15,910,872 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Unable to bind StoryBoard to a label Pin
Pete O'Hanlon16-Nov-11 10:56
mvePete O'Hanlon16-Nov-11 10:56 
GeneralRe: Unable to bind StoryBoard to a label Pin
eli1502197916-Nov-11 22:33
eli1502197916-Nov-11 22:33 
GeneralRe: Unable to bind StoryBoard to a label Pin
Pete O'Hanlon16-Nov-11 22:59
mvePete O'Hanlon16-Nov-11 22:59 
GeneralRe: Unable to bind StoryBoard to a label Pin
eli1502197917-Nov-11 1:17
eli1502197917-Nov-11 1:17 
GeneralRe: Unable to bind StoryBoard to a label Pin
Pete O'Hanlon17-Nov-11 2:12
mvePete O'Hanlon17-Nov-11 2:12 
GeneralRe: Unable to bind StoryBoard to a label Pin
Wayne Gaylard17-Nov-11 2:16
professionalWayne Gaylard17-Nov-11 2:16 
QuestionUnable to add event handler for Minimizing the Ribbon Control in WPF Pin
Kushagra Tiwari15-Nov-11 2:35
Kushagra Tiwari15-Nov-11 2:35 
QuestionGet RadioButtons from RadioButtonGroups and vice versa Pin
Defender-NF14-Nov-11 21:28
Defender-NF14-Nov-11 21:28 
Hey,

I have in my application(wpf) an Indicator for all Input Boxes, wich indicate if the box is a mandatory field or not, and changes his color if the Field is filled.

Now the product team would like to have this indicator even on radiobuttons, that means the indicator of the radiobutton should know if the others radiobuttons of the same group are filled or not to change the color to the right one.

We have a new requiredradiobutton control wich derive from the Original Control: RadioButton, and i have to programm the Indicator of the control something like that:


C#
protected override void OnChecked(RoutedEventArgs e)

{

RadioButtonGroup myradiobuttonsgroup = this.GetRadioButtonGroup();

foreach(RadionButton rb in myradiobuttonsgroup)

{

if rb.IsChecked != true

rb.Indicator.Status = Status.NotFilled;

else

rb.Indicator.Status = Status.Filled;

}

}


Or Another way how i can handle that without puting the radiobuttons in a listbox or something.



Thanks a lot and Cheers.

Negada

modified 15-Nov-11 3:41am.

AnswerRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Member 103390714-Nov-11 22:33
Member 103390714-Nov-11 22:33 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Defender-NF14-Nov-11 23:31
Defender-NF14-Nov-11 23:31 
AnswerRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Mark Salsbery15-Nov-11 4:22
Mark Salsbery15-Nov-11 4:22 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Defender-NF15-Nov-11 6:43
Defender-NF15-Nov-11 6:43 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Mark Salsbery15-Nov-11 10:15
Mark Salsbery15-Nov-11 10:15 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Defender-NF15-Nov-11 21:27
Defender-NF15-Nov-11 21:27 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Mark Salsbery16-Nov-11 5:35
Mark Salsbery16-Nov-11 5:35 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
SledgeHammer0116-Nov-11 6:39
SledgeHammer0116-Nov-11 6:39 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Pete O'Hanlon16-Nov-11 6:39
mvePete O'Hanlon16-Nov-11 6:39 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
SledgeHammer0116-Nov-11 6:42
SledgeHammer0116-Nov-11 6:42 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Pete O'Hanlon16-Nov-11 7:23
mvePete O'Hanlon16-Nov-11 7:23 
GeneralRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Defender-NF17-Nov-11 20:54
Defender-NF17-Nov-11 20:54 
QuestionMAF Pin
columbos1492714-Nov-11 21:16
columbos1492714-Nov-11 21:16 
QuestionDatagrid Row background binding issue Pin
eli1502197914-Nov-11 20:53
eli1502197914-Nov-11 20:53 
AnswerRe: Datagrid Row background binding issue Pin
Abhinav S14-Nov-11 21:40
Abhinav S14-Nov-11 21:40 
GeneralRe: Datagrid Row background binding issue Pin
eli1502197914-Nov-11 21:49
eli1502197914-Nov-11 21:49 
AnswerRe: Datagrid Row background binding issue Pin
Wayne Gaylard15-Nov-11 1:03
professionalWayne Gaylard15-Nov-11 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.