c# - Databinding to CLR property in code-behind -
binding dependency property easy in code-behind. create new system.windows.data.binding object, , call target dependency object's setbinding method.
but how do when property we're binding clr property , can't provide dependencyproperty argument setbinding?
edit: object implements inotifypropertychanged, if that's relevant.
binding targets must dependency properties! that's requirement databinding work!
read more here:
Comments
Post a Comment