Saturday, August 31, 2013

WPF-Data Binding-Example 2



Data binding does connection from a source object to target object. As soon as source changes, target changes accordingly. Binding is always placed in the target and Binding property is set as sources properties.
Here we will see the binding of font size of textblock with Slider control. As soon as we slide the Slider, the size of font of textblock increases.



Here we can see the source property Name and Value from source are set in the Binding element in the target.



No comments:

Copyright © Codingnodes,2014.All Rights Reserved.