Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


CSharp Programming

CSharp > Code Examples

TranslateTransform X: 50 / Y: 0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
TranslateTransform X: 50 / Y: 0 <Window x:Class="Workspace.DockExample" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Workspace" Width="660" Height="500"> <Canvas Width="240" Height="240"> <Rectangle Height="60" Width="60" Fill="#CCCCFF" Stroke="Cyan" StrokeThickness="2" Canvas.Left="120" Canvas.Top="120"> <Rectangle.RenderTransform> <TranslateTransform X="50" Y="0" /> </Rectangle.RenderTransform> </Rectangle> <Rectangle Style="{StaticResource MarkerRectangleStyle}" /> </Canvas> </Window>