Answer to Question #38433 in WPF for Shashank Barnawal

Question #38433
Hi Sir,
I have a scenario in my project to bind listbox Control which contains some textbox and stackpanel and while i am binding listbox control i need to change color of stackpanel inside it on basis of some condition. actually i have done it. but little problem when binding listbox and finding stackpanel on same event like button click .it does not show any control in listboxitem in visual tree to returning null and as soon as i put both thing on different event binding listbox and on other event finding control it works fine.
but i have to do it on same event. is there any other way. or can u tell me reason and solution for this.
pls respond on my Email (
Expert's answer
Dear customer, Please provide your code.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be the first!

Leave a comment

Ask Your question

New on Blog