Sunday, January 5, 2014

ViewBox:Example1

It is a wonderful control in WPF. It is used to scale to fit the content to the available size. It does not resize the content but transform the content in equal proportions (text and dimension).The property stretch of it is used to stretch and scale the control  to fill the available  space and has four values as Fill, None, Uniform and UniformToFill.

The ViewBoxExample1.xaml




UI Display:
After clicking F5,




No comments:

Copyright © Codingnodes,2014.All Rights Reserved.