Click here to Skip to main content
15,892,480 members
Home / Discussions / WPF
   

WPF

 
QuestionWhen the control's content is displayed? :confused: Pin
Ryzhiy16-Jul-08 2:39
Ryzhiy16-Jul-08 2:39 
AnswerRe: When the control's content is displayed? :confused: Pin
Mark Salsbery16-Jul-08 7:27
Mark Salsbery16-Jul-08 7:27 
GeneralRe: When the control's content is displayed? :confused: Pin
Ryzhiy16-Jul-08 23:34
Ryzhiy16-Jul-08 23:34 
QuestionAdd Singleton UserControl in WPF Pin
ezazazel15-Jul-08 23:51
ezazazel15-Jul-08 23:51 
AnswerRe: Add Singleton UserControl in WPF Pin
MIHAI_MTZ16-Jul-08 21:05
MIHAI_MTZ16-Jul-08 21:05 
QuestionHow to bind Ilist to Listview of WPF Pin
Aslesh15-Jul-08 6:10
Aslesh15-Jul-08 6:10 
AnswerRe: How to bind Ilist to Listview of WPF Pin
Mark Salsbery15-Jul-08 6:31
Mark Salsbery15-Jul-08 6:31 
QuestionRouting ComboBox SelectionChanged Pin
Jammer14-Jul-08 11:46
Jammer14-Jul-08 11:46 
Hi All,

I feel like I should know the answer to this by now but I'm stuck.

I have a number of combo boxes in the UI, the contents of one is dynamic based on the selected item of another. All the comboboxes are bound to OberservableCollections created in a static ComboBoxManager class.

Whats the best way of handling the selection changing in the first combobox in order to populate the second combobox with the correct contents?

How do I get this selection changed event into this other class? Do I have to register a custom event in the ComboBoxManager class? Or can I create a 'Selection' property on the ComboBoxManager class and bind the first comboboxes selected item to it in a two way binding to this property and add a handler to this property to kick off some code when it changes?

Or is this all a bit overkill and I just need to use a RoutedEvent listener in the ComboBoxManager class??

Jammer

Going where everyone here has gone before! Smile | :)
My Blog

AnswerRe: Routing ComboBox SelectionChanged Pin
Jammer15-Jul-08 2:57
Jammer15-Jul-08 2:57 
GeneralRe: Routing ComboBox SelectionChanged Pin
Pete O'Hanlon15-Jul-08 9:23
mvePete O'Hanlon15-Jul-08 9:23 
GeneralRe: Routing ComboBox SelectionChanged Pin
Jammer15-Jul-08 9:31
Jammer15-Jul-08 9:31 
GeneralRe: Routing ComboBox SelectionChanged Pin
Pete O'Hanlon15-Jul-08 9:41
mvePete O'Hanlon15-Jul-08 9:41 
GeneralRe: Routing ComboBox SelectionChanged Pin
Jammer15-Jul-08 9:43
Jammer15-Jul-08 9:43 
GeneralRe: Routing ComboBox SelectionChanged Pin
Pete O'Hanlon15-Jul-08 9:49
mvePete O'Hanlon15-Jul-08 9:49 
JokeRe: Routing ComboBox SelectionChanged Pin
Jammer15-Jul-08 9:50
Jammer15-Jul-08 9:50 
GeneralRe: Routing ComboBox SelectionChanged Pin
Pete O'Hanlon15-Jul-08 9:53
mvePete O'Hanlon15-Jul-08 9:53 
GeneralRe: Routing ComboBox SelectionChanged Pin
Jammer15-Jul-08 10:00
Jammer15-Jul-08 10:00 
GeneralRe: Routing ComboBox SelectionChanged Pin
Pete O'Hanlon15-Jul-08 10:06
mvePete O'Hanlon15-Jul-08 10:06 
GeneralRe: Routing ComboBox SelectionChanged Pin
Jammer15-Jul-08 10:12
Jammer15-Jul-08 10:12 
QuestionHow to bind Listview to Ilist Pin
chandra vempati14-Jul-08 5:43
chandra vempati14-Jul-08 5:43 
AnswerRe: How to bind Listview to Ilist Pin
Mark Salsbery14-Jul-08 9:39
Mark Salsbery14-Jul-08 9:39 
AnswerRe: How to bind Listview to Ilist Pin
amistry_petlad14-Jul-08 9:41
amistry_petlad14-Jul-08 9:41 
GeneralRe: How to bind Listview to Ilist Pin
chandra vempati14-Jul-08 10:14
chandra vempati14-Jul-08 10:14 
GeneralRe: How to bind Listview to Ilist Pin
amistry_petlad14-Jul-08 11:34
amistry_petlad14-Jul-08 11:34 
QuestionGood wpf tutorials Pin
csciwizard12-Jul-08 9:42
csciwizard12-Jul-08 9:42 

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.