Click here to Skip to main content
15,884,007 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Focusing on elements in MVVM PinPopular
Pete O'Hanlon30-Jan-12 23:03
mvePete O'Hanlon30-Jan-12 23:03 
GeneralRe: Focusing on elements in MVVM Pin
Pete O'Hanlon31-Jan-12 3:34
mvePete O'Hanlon31-Jan-12 3:34 
GeneralRe: Focusing on elements in MVVM Pin
Wayne Gaylard31-Jan-12 3:39
professionalWayne Gaylard31-Jan-12 3:39 
GeneralRe: Focusing on elements in MVVM Pin
Pete O'Hanlon31-Jan-12 3:47
mvePete O'Hanlon31-Jan-12 3:47 
GeneralRe: Focusing on elements in MVVM Pin
Wayne Gaylard31-Jan-12 3:56
professionalWayne Gaylard31-Jan-12 3:56 
GeneralRe: Focusing on elements in MVVM Pin
SledgeHammer0131-Jan-12 5:11
SledgeHammer0131-Jan-12 5:11 
GeneralRe: Focusing on elements in MVVM Pin
SledgeHammer0131-Jan-12 6:18
SledgeHammer0131-Jan-12 6:18 
GeneralRe: Focusing on elements in MVVM Pin
SledgeHammer0131-Jan-12 6:56
SledgeHammer0131-Jan-12 6:56 
Wait, I kind of read your response as "I'm going to raise Event1" to signal that something should happen in the view. How are you going to tell the view through Event1 to set focus to 1 of 50 controls? Aren't you going to need one event for every state? What I mean is, are you defining a custom eventargs that contains which control to set focus to? The OP poster wanted to set focus from the VM to any one of those 50 controls.

Where I was headed with the VSM is that they already have a method for "switching" in the XAML based on the state. No code behind.

I think we are both trying to say the same thing in different ways LOL, that you should be able to do different things through a single property, DP, whatever.
GeneralRe: Focusing on elements in MVVM Pin
SledgeHammer0131-Jan-12 7:50
SledgeHammer0131-Jan-12 7:50 
GeneralRe: Focusing on elements in MVVM Pin
mi_n31-Jan-12 6:58
mi_n31-Jan-12 6:58 
GeneralRe: Focusing on elements in MVVM Pin
SledgeHammer0131-Jan-12 7:21
SledgeHammer0131-Jan-12 7:21 
GeneralRe: Focusing on elements in MVVM Pin
mi_n31-Jan-12 9:36
mi_n31-Jan-12 9:36 
QuestionWPF Dialog Service via Binding Pin
Adrian Alexander29-Jan-12 23:18
Adrian Alexander29-Jan-12 23:18 
AnswerRe: WPF Dialog Service via Binding Pin
SledgeHammer0130-Jan-12 5:11
SledgeHammer0130-Jan-12 5:11 
GeneralRe: WPF Dialog Service via Binding Pin
Adrian Alexander30-Jan-12 5:14
Adrian Alexander30-Jan-12 5:14 
GeneralRe: WPF Dialog Service via Binding Pin
SledgeHammer0130-Jan-12 5:20
SledgeHammer0130-Jan-12 5:20 
GeneralRe: WPF Dialog Service via Binding Pin
Adrian Alexander30-Jan-12 5:24
Adrian Alexander30-Jan-12 5:24 
GeneralRe: WPF Dialog Service via Binding Pin
SledgeHammer0130-Jan-12 6:45
SledgeHammer0130-Jan-12 6:45 
GeneralRe: WPF Dialog Service via Binding Pin
Adrian Alexander30-Jan-12 8:01
Adrian Alexander30-Jan-12 8:01 
GeneralRe: WPF Dialog Service via Binding Pin
SledgeHammer0130-Jan-12 8:28
SledgeHammer0130-Jan-12 8:28 
GeneralRe: WPF Dialog Service via Binding Pin
Adrian Alexander30-Jan-12 9:22
Adrian Alexander30-Jan-12 9:22 
GeneralRe: WPF Dialog Service via Binding Pin
SledgeHammer0130-Jan-12 10:43
SledgeHammer0130-Jan-12 10:43 
GeneralRe: WPF Dialog Service via Binding Pin
Adrian Alexander30-Jan-12 14:28
Adrian Alexander30-Jan-12 14:28 
AnswerRe: WPF Dialog Service via Binding Pin
SledgeHammer0130-Jan-12 14:54
SledgeHammer0130-Jan-12 14:54 
GeneralRe: WPF Dialog Service via Binding Pin
Pete O'Hanlon30-Jan-12 23:06
mvePete O'Hanlon30-Jan-12 23:06 

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.