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 = "Translated";
btn.RenderTransform = new TranslateTransform(-100, 150);
canv.Children.Add(btn);
Canvas.SetLeft(btn, 200);
Canvas.SetTop(btn, 100);
}
}