Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
198
PropertyChanged Event
posted

Is there a way to get the changing node from the PropertyChanged Event?

I have a tree that is bound to a list of CustomObjects.  One of the properties is LeftImage.  The node left image comes from this property.  How do i redraw the left image if the CustomeObject.LeftImage is update from outside the tree?

Is there something else i can use?

  

Parents
  • 69832
    Offline posted

    No, the PropertyChanged event does not support what you describe here. That event will fire when the contents of the LeftImages collection changes, but not when a property of some custom object changes because it has no connection with that object. You would need to issue some kind of notification when the CustomeObject.LeftImage property changes, and have the UltraTree listen for that notification, and change the LeftImages collection in response.

Reply Children