Click here to Skip to main content
15,917,702 members
Home / Discussions / WPF
   

WPF

 
Questionchecking processes Pin
arkiboys3-Dec-10 2:58
arkiboys3-Dec-10 2:58 
AnswerRe: checking processes Pin
Pete O'Hanlon3-Dec-10 4:37
mvePete O'Hanlon3-Dec-10 4:37 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 5:43
arkiboys3-Dec-10 5:43 
GeneralRe: checking processes Pin
Pete O'Hanlon3-Dec-10 7:19
mvePete O'Hanlon3-Dec-10 7:19 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 11:00
arkiboys3-Dec-10 11:00 
GeneralRe: checking processes Pin
Pete O'Hanlon3-Dec-10 11:01
mvePete O'Hanlon3-Dec-10 11:01 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 11:02
arkiboys3-Dec-10 11:02 
AnswerRe: checking processes Pin
Abhinav S3-Dec-10 23:22
Abhinav S3-Dec-10 23:22 
QuestionStandard Button Layout Pin
PaulPrice3-Dec-10 0:20
PaulPrice3-Dec-10 0:20 
AnswerRe: Standard Button Layout Pin
Abhinav S3-Dec-10 1:07
Abhinav S3-Dec-10 1:07 
GeneralRe: Standard Button Layout Pin
PaulPrice3-Dec-10 2:04
PaulPrice3-Dec-10 2:04 
AnswerRe: Standard Button Layout Pin
Pete O'Hanlon3-Dec-10 1:16
mvePete O'Hanlon3-Dec-10 1:16 
JokeRe: Standard Button Layout Pin
PaulPrice3-Dec-10 2:02
PaulPrice3-Dec-10 2:02 
GeneralRe: Standard Button Layout Pin
Pete O'Hanlon3-Dec-10 4:35
mvePete O'Hanlon3-Dec-10 4:35 
QuestionDependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 3:13
PaulPrice2-Dec-10 3:13 
AnswerRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 3:55
Ian Shlasko2-Dec-10 3:55 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 4:36
PaulPrice2-Dec-10 4:36 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 6:18
Ian Shlasko2-Dec-10 6:18 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 6:34
PaulPrice2-Dec-10 6:34 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 9:56
Ian Shlasko2-Dec-10 9:56 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer012-Dec-10 10:05
SledgeHammer012-Dec-10 10:05 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 10:59
Ian Shlasko2-Dec-10 10:59 
No, he has that part right, I believe... He's using a DataTemplate, so it goes like this:

1) MainWindow has its Content set to the model

2) Content is rendered using a DataTemplate which contains a MainAppView
(If this failed, he wouldn't see his control at all)

3) MainAppView, being inside a DataTemplate, uses that model as its DataContext

4) MainAppView contains a DualListControl, with its SelectedItems and DeselectedItems properties bound to that model

5) DualListControl is rendered using a DataTemplate, which contains two ListViews that are template-bound to those properties

It's a bit more indirect than I would have done, but it should work. #1 and #2 are solid... #3 is what you're talking about, but that should happen automatically. #5 is the TemplateBinding thing he already fixed... I think the broken link is in #4, just by process of elimination, but I don't see the actual problem.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer012-Dec-10 11:58
SledgeHammer012-Dec-10 11:58 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice3-Dec-10 0:11
PaulPrice3-Dec-10 0:11 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice3-Dec-10 0:05
PaulPrice3-Dec-10 0:05 

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.