You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
Whilst developing with Eto forms I found Binding.AddPropertyEvent method which is quite helpful for INPC events. However, looking at the implementation I see that it is a direct subscription to an event. Typically when looking at bindings it is assumed that they are safe in conditions when the controls are added or removed. They are weak references so to speak. Is it the case for this particular call. Do I need to call RemovePropertyEvent when I want to remove the controls?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello.
Whilst developing with Eto forms I found
Binding.AddPropertyEvent
method which is quite helpful for INPC events. However, looking at the implementation I see that it is a direct subscription to an event. Typically when looking at bindings it is assumed that they are safe in conditions when the controls are added or removed. They are weak references so to speak. Is it the case for this particular call. Do I need to callRemovePropertyEvent
when I want to remove the controls?Beta Was this translation helpful? Give feedback.
All reactions