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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -