Click here to Skip to main content
15,881,757 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 10:59
Ian Shlasko2-Dec-10 10:59 
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 
AnswerRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer012-Dec-10 6:35
SledgeHammer012-Dec-10 6:35 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 7:05
PaulPrice2-Dec-10 7:05 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer012-Dec-10 10:04
SledgeHammer012-Dec-10 10:04 
GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 23:59
PaulPrice2-Dec-10 23:59 
SledgeHammer,

I appreciate your time.

I understand your point about a single list instance being shared amongst all controls. Please understand that I have been making changes as recommended by yourself and Ian (above).

The complication that arises with the ReadOnly method you describe is that I would like to be able to allow the consumer to use the control in the following way. The ReadOnly method does not allow me to do this.

Any suggestions?

<CustomControls:DualListControl SelectedItems="{Binding SelectedItemsA}" DeSelectedItems="{Binding DeSelectedItemsA}" Width="300" Height="300"/>


Regarding the DataContext, the control template does not appear to require the DataContext specifically set as the ViewModel is implicitly bound to the parent view and therefore to this control, I have verified this while debugging.

I do have the control working as intended but only tested as a single instance at the moment, I will test with mutiple instances to enable me to fix the single list instance issue you have kindly pointed out.

Once again, thanks for your time.
Just racking up the postings

GeneralRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
SledgeHammer013-Dec-10 14:33
SledgeHammer013-Dec-10 14:33 
Questionvs 2010 settings Pin
arkiboys1-Dec-10 21:43
arkiboys1-Dec-10 21:43 
AnswerRe: vs 2010 settings Pin
Abhinav S1-Dec-10 22:34
Abhinav S1-Dec-10 22:34 
GeneralRe: vs 2010 settings Pin
arkiboys1-Dec-10 23:54
arkiboys1-Dec-10 23:54 
QuestionGUI guidance Pin
arkiboys1-Dec-10 21:35
arkiboys1-Dec-10 21:35 
AnswerRe: GUI guidance Pin
phil.o3-Dec-10 0:09
professionalphil.o3-Dec-10 0:09 
GeneralRe: GUI guidance Pin
arkiboys3-Dec-10 1:48
arkiboys3-Dec-10 1:48 
GeneralRe: GUI guidance Pin
phil.o4-Dec-10 2:46
professionalphil.o4-Dec-10 2:46 
QuestionHow do I Invalidate or repaint the Window in WPF. Pin
o1010wanabe1-Dec-10 12:25
o1010wanabe1-Dec-10 12:25 
AnswerRe: How do I Invalidate or repaint the Window in WPF. Pin
SledgeHammer012-Dec-10 6:22
SledgeHammer012-Dec-10 6:22 
GeneralRe: How do I Invalidate or repaint the Window in WPF. Pin
o1010wanabe2-Dec-10 22:24
o1010wanabe2-Dec-10 22:24 
GeneralRe: How do I Invalidate or repaint the Window in WPF. Pin
o1010wanabe2-Dec-10 22:33
o1010wanabe2-Dec-10 22:33 
NewsNew article Pin
TechiGIRL30-Nov-10 23:49
TechiGIRL30-Nov-10 23:49 
GeneralRe: New article Pin
#realJSOP5-Dec-10 6:18
mve#realJSOP5-Dec-10 6:18 
QuestionImage does not display in the TextBlock. Pin
rus20430-Nov-10 21:00
rus20430-Nov-10 21:00 
Questionround-robin discussion on the future of WPF and SilverLight : we'd like to see one [modified] Pin
BillWoodruff28-Nov-10 22:47
professionalBillWoodruff28-Nov-10 22:47 
AnswerRe: round-robin discussion on the future of WPF and SilverLight : we'd like to see one Pin
RobCroll29-Nov-10 0:12
RobCroll29-Nov-10 0:12 

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.