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

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples