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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -