Transformed Buttons with ScaleTransform and ScaleY : Transform « Windows Presentation Foundation « VB.Net






Transformed Buttons with ScaleTransform and ScaleY

Transformed Buttons with ScaleTransform and ScaleY
     


<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Button Canvas.Left="50" Canvas.Top="100">
        Untransformed
    </Button>

    <Button Canvas.Left="350" Canvas.Top="100">
        Scaled
        <Button.RenderTransform>
            <ScaleTransform ScaleX="1.5" ScaleY="4" />
        </Button.RenderTransform>
    </Button>

</Canvas>

   
    
    
    
    
  








Related examples in the same category

1.RenderTransform sectionRenderTransform section
2.LayoutTransform sectionLayoutTransform section
3.Transformed Buttons with TranslateTransform X/YTransformed Buttons with TranslateTransform X/Y
4.Transformed Buttons with SkewTransform and AngleYTransformed Buttons with SkewTransform and AngleY
5.Transformed Buttons with RotateTransform And AngleTransformed Buttons with RotateTransform And Angle
6.Animate Button RenderTransformAnimate Button RenderTransform
7.Animate Button LayoutTransformAnimate Button LayoutTransform
8.Translate TransformTranslate Transform
9.ScaleTransformScaleTransform
10.SkewTransform appliedSkewTransform applied
11.Applies a RotateTransform to the brush's Transform propertyApplies a RotateTransform to the brush's Transform property
12.TranslateTransform : LayoutTransform SampleTranslateTransform : LayoutTransform Sample
13.MatrixTransform SampleMatrixTransform Sample
14.Rotate Button Along the center and AngleRotate Button Along the center and Angle
15.Render Tranform
16.Rotate a ButtonRotate a Button
17.Rotate in a circle, then flip, when clickedRotate in a circle, then flip, when clicked
18.RotateTransform AppliedRotateTransform Applied
19.Rotation of content by using RotateTransformRotation of content by using RotateTransform
20.Object Transforms in WPFObject Transforms in WPF