Click here to Skip to main content
15,916,527 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: control is not accessible in code behind Pin
SRKSHOME9-Jan-12 3:21
SRKSHOME9-Jan-12 3:21 
AnswerRe: control is not accessible in code behind Pin
manognya kota5-Jan-12 23:45
manognya kota5-Jan-12 23:45 
GeneralRe: control is not accessible in code behind Pin
Pete O'Hanlon5-Jan-12 23:55
mvePete O'Hanlon5-Jan-12 23:55 
GeneralRe: control is not accessible in code behind Pin
manognya kota6-Jan-12 0:07
manognya kota6-Jan-12 0:07 
QuestionParse string not working Pin
Dammie25-Jan-12 2:29
Dammie25-Jan-12 2:29 
AnswerRe: Parse string not working Pin
Pete O'Hanlon5-Jan-12 2:48
mvePete O'Hanlon5-Jan-12 2:48 
QuestionWPF ListBox With Radio Buttons Pin
Kevin Marois4-Jan-12 18:33
professionalKevin Marois4-Jan-12 18:33 
AnswerRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 5:01
SledgeHammer015-Jan-12 5:01 
In your StackPanel, you would add an ItemsControl ItemsSource={Binding SubItems} or whatever and set the item template of the ItemsControl up to be a RadioButton + Text. The tricky part here is going to be setting up the RadioButton GroupName (so the radio buttons actually behave like a group). If you have 3 radio buttons in an item, they've all got to have the same group name, but that group name has to be different for each listbox item. I'm gonna assume PartNo is unique for each part, so I'd set the group name in your ItemsControl template radio button to be PartNo.
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 5:39
professionalKevin Marois5-Jan-12 5:39 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 6:37
SledgeHammer015-Jan-12 6:37 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 7:26
professionalKevin Marois5-Jan-12 7:26 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 7:54
SledgeHammer015-Jan-12 7:54 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 8:09
professionalKevin Marois5-Jan-12 8:09 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 8:16
SledgeHammer015-Jan-12 8:16 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 8:18
professionalKevin Marois5-Jan-12 8:18 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 8:22
professionalKevin Marois5-Jan-12 8:22 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 8:30
SledgeHammer015-Jan-12 8:30 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 11:09
professionalKevin Marois5-Jan-12 11:09 
GeneralRe: WPF ListBox With Radio Buttons Pin
SledgeHammer015-Jan-12 11:18
SledgeHammer015-Jan-12 11:18 
GeneralRe: WPF ListBox With Radio Buttons Pin
Kevin Marois5-Jan-12 11:34
professionalKevin Marois5-Jan-12 11:34 
QuestionListbox / Button Text update Pin
Member 84777754-Jan-12 12:05
Member 84777754-Jan-12 12:05 
AnswerRe: Listbox / Button Text update Pin
SledgeHammer014-Jan-12 12:35
SledgeHammer014-Jan-12 12:35 
GeneralRe: Listbox / Button Text update Pin
Member 84777754-Jan-12 12:40
Member 84777754-Jan-12 12:40 
GeneralRe: Listbox / Button Text update Pin
SledgeHammer014-Jan-12 13:36
SledgeHammer014-Jan-12 13:36 
GeneralRe: Listbox / Button Text update Pin
Member 84777754-Jan-12 13:40
Member 84777754-Jan-12 13:40 

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.