Hi,
I'm using TabItems and want to subscribe to changes to the IsSelected DependencyProperty. How can this be done
Thanks a lot
Hi,
I'm using TabItems and want to subscribe to changes to the IsSelected DependencyProperty. How can this be done
Thanks a lot
DependencyProperty changed event.
stongej2007
Hm but I will always have to create a DependencyProperty on my Target Class and apply a binding. I think is is a big overhead compared to a simple Callback method.
OrenSasson
Shishir_Vaidya
There doesn't seem to be anything else than bindings to do this.
You can find my solution here: http://vb-magazin.de/forums/blogs/janm/
Abid Dar
While I did not try this exact case myself, this could resolve your issue of having to create a DP on your target and the binding..
MyRavi
leo123
Of course you can.
SQL Servant
You can always create a binding between the one you want to track and a dependencyproperty in your own class. Now if the foreign dependencyproperty changes then the binding will cause your own property that your dependencyproperty represents will be set. Just put your handling-code in the set part of the property.
I think that will work, and it is a quite clean solution when you think of it a bit.
Edgardo Rossetto