c# - Binding two Dependency properties in WPF -


i declare 2 dependency properties: first, filtercolor of type color , second filterbrush of type brush. need update value of filtercolor when filterbrush.color property has changed, , need update value of filterbrush.color when filtercolor property has changed. how can realize it?

bind 2 properties twoway binding , if change 1 in ui change other in properties setter , vice versa, , use inotifypropertychanged notify ui property changed.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -