Click here to Skip to main content
15,891,657 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How can i add simple .net control (net wpf control ) into wpf window ? Pin
Yanshof15-Aug-10 0:58
Yanshof15-Aug-10 0:58 
GeneralRe: How can i add simple .net control (net wpf control ) into wpf window ? Pin
Abhinav S15-Aug-10 0:58
Abhinav S15-Aug-10 0:58 
QuestionPlaying a list of files on after the other. Pin
Tichaona J13-Aug-10 12:29
Tichaona J13-Aug-10 12:29 
AnswerRe: Playing a list of files on after the other. Pin
#realJSOP14-Aug-10 0:09
mve#realJSOP14-Aug-10 0:09 
QuestionBinding ComboBox Selected Item value Pin
BRShroyer13-Aug-10 5:01
BRShroyer13-Aug-10 5:01 
AnswerRe: Binding ComboBox Selected Item value Pin
Ian Shlasko13-Aug-10 5:14
Ian Shlasko13-Aug-10 5:14 
GeneralRe: Binding ComboBox Selected Item value Pin
BRShroyer13-Aug-10 5:18
BRShroyer13-Aug-10 5:18 
GeneralRe: Binding ComboBox Selected Item value Pin
Ian Shlasko13-Aug-10 5:25
Ian Shlasko13-Aug-10 5:25 
Ah, that's a bit more tricky. The thing about binding is that one end of the bind MUST be a DependencyProperty on a DependencyObject. You really want to bind one field in your XML file to another, or alternately bind one property to two different values (Source1 = SelectedItem, Source2 = CurrentPallet).

I don't think you can do either, unfortunately. Your best bet might be to just hook the ComboBox's selection changed and update CurrentPallet in the code-behind. Then you can hook its DataContextChanged to initialize its SelectedItem to the CurrentPallet.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Binding ComboBox Selected Item value Pin
BRShroyer13-Aug-10 5:33
BRShroyer13-Aug-10 5:33 
GeneralRe: Binding ComboBox Selected Item value Pin
Ian Shlasko13-Aug-10 5:39
Ian Shlasko13-Aug-10 5:39 
GeneralRe: Binding ComboBox Selected Item value Pin
BRShroyer13-Aug-10 5:47
BRShroyer13-Aug-10 5:47 
QuestionData Template Issue Pin
Tauseef A12-Aug-10 22:34
Tauseef A12-Aug-10 22:34 
AnswerRe: Data Template Issue Pin
Abhinav S12-Aug-10 22:54
Abhinav S12-Aug-10 22:54 
GeneralRe: Data Template Issue Pin
Tauseef A12-Aug-10 23:11
Tauseef A12-Aug-10 23:11 
QuestionMasking textblock in wpf Pin
sumit703412-Aug-10 21:26
sumit703412-Aug-10 21:26 
AnswerRe: Masking textblock in wpf Pin
Abhinav S12-Aug-10 22:49
Abhinav S12-Aug-10 22:49 
QuestionRegarding DateTime in Datagrid [modified] Pin
PrabhatSharp12-Aug-10 7:27
PrabhatSharp12-Aug-10 7:27 
AnswerRe: Regarding DateTime in Datagrid Pin
Frank W. Wu24-Aug-10 13:17
Frank W. Wu24-Aug-10 13:17 
Questionbind to textblock in listbox selected item in wpf Pin
sumit703412-Aug-10 0:17
sumit703412-Aug-10 0:17 
AnswerRe: bind to textblock in listbox selected item in wpf Pin
Ian Shlasko12-Aug-10 3:33
Ian Shlasko12-Aug-10 3:33 
QuestionSet Button inactive Pin
eric koston11-Aug-10 23:27
eric koston11-Aug-10 23:27 
AnswerRe: Set Button inactive Pin
#realJSOP12-Aug-10 2:45
mve#realJSOP12-Aug-10 2:45 
QuestionLearning WPF Pin
anishkannan11-Aug-10 19:15
anishkannan11-Aug-10 19:15 
AnswerRe: Learning WPF Pin
Arun Jacob11-Aug-10 19:38
Arun Jacob11-Aug-10 19:38 
AnswerRe: Learning WPF Pin
Abhinav S11-Aug-10 20:24
Abhinav S11-Aug-10 20:24 

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.