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# -

php - Posting PHPBB Forum Thread/Post info in a website -

drupal - using views argument in the view tpl.php file -