ScaleTransform in XAML Silverlight


Introduction

In Silverlight "ScaleTransform" is used to stretch or shrink an 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 both of it's 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.
image002.jpg

In the above screenshot, I have used three Text Blocks to clarify the basics of scaling.

Be tuned for the next article.

HAVE A HAPPY CODING!!

erver'>
Up Next
    Ebook Download
    View all
    Learn
    View all