Using XAML View
Photoshop layers to XAML with clean and clear code becomes simple with Layer Kit – XAML View. Translate your PSD layers to XAML with advanced support for text, images and shapes.
Get Layer Kit Pro to add layer effects, imaging options and more with XAML View.
Example Image Element
1 2 3 4 5 6 | <Image x:Name="button_copy" Source="ms-appx:///skins/ek125_303_layer_effects/button_copy.png" X="446" Y="240" Width="310" Height="166" /> |
Example Text Element
1 2 3 4 5 6 7 8 9 10 11 | <TextBlock x:Name="text" FontFamily="ArialMT" FontSize="68" Foreground="FFFFFFFF" X="132" Y="501" Width="227" Height="90" > TEXT </TextBlock> |
Example Shape Element
1 2 3 4 5 6 7 8 | <Rectangle x:Name="button_bg" RadiusX="30" RadiusY="30" Fill="#FFCE3636" X="72" Y="449" Width="310" Height="159" /> |
Pro Features
Using Layer Kit Pro, you can customize the XAML View to include additional information with the PSD layer such as effects, advanced text rendering and more.
Example Layer Effects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <Rectangle x:Name="button_bg" RadiusX="30" RadiusY="30" Fill="#FFCE3636" X="72" Y="449" Width="310" Height="159" > <Rectangle.Fill> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <GradientStop Offset="0.29" Color="ff251111" x:Name="GradientStop1" /> <GradientStop Offset="0.65" Color="ff5c2222" x:Name="GradientStop2" /> <GradientStop Offset="1" Color="ffcd3535" x:Name="GradientStop3" /> </LinearGradientBrush> </Rectangle.Fill> </Rectangle> |