Click here to Skip to main content
15,895,423 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Problem setting dialogresult in WPF Pin
AspDotNetDev23-Aug-09 17:00
protectorAspDotNetDev23-Aug-09 17:00 
QuestionWpf listbox select item [modified] Pin
mark011222-Aug-09 4:43
mark011222-Aug-09 4:43 
AnswerRe: Wpf listbox select item Pin
User 27100922-Aug-09 5:11
User 27100922-Aug-09 5:11 
AnswerRe: Wpf listbox select item Pin
mark011222-Aug-09 6:32
mark011222-Aug-09 6:32 
GeneralRe: Wpf listbox select item Pin
Christian Graus22-Aug-09 14:25
protectorChristian Graus22-Aug-09 14:25 
GeneralRe: Wpf listbox select item [modified] Pin
mark011222-Aug-09 15:10
mark011222-Aug-09 15:10 
GeneralRe: Wpf listbox select item Pin
AspDotNetDev22-Aug-09 22:44
protectorAspDotNetDev22-Aug-09 22:44 
QuestionEditing multiple item types in the same control Pin
gantww21-Aug-09 16:43
gantww21-Aug-09 16:43 
Greetings,
I'm trying to throw together a quick silverlight proof of concept, but I'm stuck on a slight issue.

Let's say I have a base class (we'll call it Mammal) and two derived classes (dog and cat, respectively). I have an ObservableList<Mammal> that holds a whole bunch of cats and dogs.

Now, I have a listbox defined like so:

<ListBox x:name="lstMammals">
...
</ListBox>

A little ways further down, I have a ContentControl (I'm not sure if this is the right control to use here) that contains a StackPanel with two user controls in it. One of the user controls handles dogs and the other cats. How do I do the binding in XAML in such a way that when I select an item in the listbox that the appropriate user control pops up for editing it?

Or am I looking at the problem wrong?

Thanks,
Will
AnswerRe: Editing multiple item types in the same control Pin
Mark Salsbery24-Aug-09 8:43
Mark Salsbery24-Aug-09 8:43 
QuestionFire EventTrigger on WPF Style Change? [SOLVED] Pin
AspDotNetDev21-Aug-09 11:20
protectorAspDotNetDev21-Aug-09 11:20 
AnswerRe: Fire EventTrigger on WPF Style Change? Pin
User 27100922-Aug-09 5:10
User 27100922-Aug-09 5:10 
GeneralRe: Fire EventTrigger on WPF Style Change? Pin
AspDotNetDev22-Aug-09 10:17
protectorAspDotNetDev22-Aug-09 10:17 
GeneralRe: Fire EventTrigger on WPF Style Change? Pin
User 27100922-Aug-09 12:22
User 27100922-Aug-09 12:22 
GeneralRe: Fire EventTrigger on WPF Style Change? Pin
AspDotNetDev22-Aug-09 17:23
protectorAspDotNetDev22-Aug-09 17:23 
GeneralRe: Fire EventTrigger on WPF Style Change? Pin
AspDotNetDev22-Aug-09 22:40
protectorAspDotNetDev22-Aug-09 22:40 
GeneralRe: Fire EventTrigger on WPF Style Change? Pin
User 27100923-Aug-09 4:43
User 27100923-Aug-09 4:43 
AnswerRe: Fire EventTrigger on WPF Style Change? [SOLUTION] Pin
AspDotNetDev23-Aug-09 15:09
protectorAspDotNetDev23-Aug-09 15:09 
Questionservice Cross-domain issue. Pin
thrakazog21-Aug-09 8:33
thrakazog21-Aug-09 8:33 
AnswerResolved. Pin
thrakazog21-Aug-09 9:52
thrakazog21-Aug-09 9:52 
QuestionSheet music Pin
Tony Pottier21-Aug-09 5:58
Tony Pottier21-Aug-09 5:58 
AnswerRe: Sheet music Pin
#realJSOP21-Aug-09 7:12
mve#realJSOP21-Aug-09 7:12 
GeneralRe: Sheet music Pin
Tony Pottier21-Aug-09 10:59
Tony Pottier21-Aug-09 10:59 
GeneralRe: Sheet music Pin
Richard MacCutchan31-Aug-09 5:19
mveRichard MacCutchan31-Aug-09 5:19 
QuestionHow to handle Different Modules in MVP ?? Pin
Krishna Aditya20-Aug-09 22:50
Krishna Aditya20-Aug-09 22:50 
AnswerRe: How to handle Different Modules in MVP ?? Pin
Richard MacCutchan31-Aug-09 5:32
mveRichard MacCutchan31-Aug-09 5:32 

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.