ScaleTransform in XAML Silverlight
Introduction
In Silverlight ‘ScaleTransform’ is used to stretch or shrink element
horizontally or vertically. It has mainly two properties ScaleX and ScaleY. By
default ScaleX and ScaleY values are 1. We either can increase 1 or decrease 1
for its both properties.
· ScaleX
The ScaleX property
specifies the amount to stretch or shrink element along X-axis.
· ScaleY
The ScaleY property
specifies the amount to stretch or shrink element along Y-axis.
In above screenshot, I have used three Text Blocks to clarify
the basics of scaling.
Comments
Post a Comment