Click here to Skip to main content
15,921,716 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Get RadioButtons from RadioButtonGroups and vice versa Pin
Member 103390714-Nov-11 22:33
Member 103390714-Nov-11 22:33 
The way I understand it, you want the indicator in the NotFilled state if none of the radio button within the group are checked and the Filled state if at least on of the radio button (within the same group) is checked.
If this is correct, then your code is most likely wrong, this way it will set the indicator status based on the last radio button examined. Do something like
rb.Indicator.Status = myradiobuttongroup.Any(p=>p.IsChecked) ? Status.Filled : Status.NotFilled;

(not tested, may need polishing)
H.
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 
GeneralRe: Datagrid Row background binding issue Pin
eli1502197915-Nov-11 1:54
eli1502197915-Nov-11 1:54 
GeneralRe: Datagrid Row background binding issue Pin
Wayne Gaylard15-Nov-11 2:01
professionalWayne Gaylard15-Nov-11 2:01 
Questionshow SSRS reports using .xaml - Silverlight 4 Pin
arkiboys13-Nov-11 23:49
arkiboys13-Nov-11 23:49 
AnswerRe: show SSRS reports using .xaml - Silverlight 4 Pin
thatraja14-Nov-11 1:41
professionalthatraja14-Nov-11 1:41 
GeneralRe: show SSRS reports using .xaml - Silverlight 4 Pin
arkiboys14-Nov-11 1:50
arkiboys14-Nov-11 1:50 
GeneralRe: show SSRS reports using .xaml - Silverlight 4 Pin
Mycroft Holmes14-Nov-11 13:05
professionalMycroft Holmes14-Nov-11 13:05 
QuestionGrid Columns are over writing one another Pin
indian14311-Nov-11 8:28
indian14311-Nov-11 8:28 
QuestionRe: Grid Columns are over writing one another Pin
AspDotNetDev11-Nov-11 8:41
protectorAspDotNetDev11-Nov-11 8:41 

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.