using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
public class TransformedButtons : Window
{
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new TransformedButtons());
}
public TransformedButtons()
{
Canvas canv = new Canvas();
Content = canv;
Button btn = new Button();
btn.Content = "Scaled";
btn.RenderTransform = new ScaleTransform(1.5, 4);
canv.Children.Add(btn);
Canvas.SetLeft(btn, 350);
Canvas.SetTop(btn, 100);
}
}