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
{{ message }}
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.
Even though this is a WPF framework, we're fitting it for WinForms. I know there's a [<DerivedProperty>] that Binding.OfExpression uses to do multi-way binding in the case of computed properties. In WinForms the Binding.OfExpression does not work because, I assume, WinForms is not compatible with the WPF binding framework.
I made a [<DerivedFrom(string array)>] attribute that lets you mark the direct dependencies of the computed properties on your model and hijacked the body of the Intercept method on the IIntercepter on the Model, so that when a setter is called, I check to see if there are any children pointing to me as a dependency.
I am still working on a couple nice-to-haves like transitive dependency resolution and memoizing reflection results, but it mostly works. Is this something that could be made into a pull request? I know it is a little strange thematically as this is a WPF framework.
The text was updated successfully, but these errors were encountered:
Even though this is a WPF framework, we're fitting it for WinForms. I know there's a
[<DerivedProperty>]
thatBinding.OfExpression
uses to do multi-way binding in the case of computed properties. In WinForms theBinding.OfExpression
does not work because, I assume, WinForms is not compatible with the WPF binding framework.I made a
[<DerivedFrom(string array)>]
attribute that lets you mark the direct dependencies of the computed properties on your model and hijacked the body of theIntercept
method on theIIntercepter
on theModel
, so that when a setter is called, I check to see if there are any children pointing to me as a dependency.I am still working on a couple nice-to-haves like transitive dependency resolution and memoizing reflection results, but it mostly works. Is this something that could be made into a pull request? I know it is a little strange thematically as this is a WPF framework.
The text was updated successfully, but these errors were encountered: