Loading...

Using Silver Light View

Photoshop layers to SilverLight with clean and clear code becomes simple with Layer Kit – SilverLight View. Translate your PSD layers to SilverLight with advanced support for text, images and shapes.

Get Layer Kit Pro to add layer effects, imaging options and more with SilverLight View.

Example Image Element

1
2
3
4
5
6
7
Image button_copy = new Image();
button_copy.Source = new BitmapImage(new Uri("ms-appx:///skins/ek125_303_layer_effects.png"));
 
button_copy.SetValue(Canvas.TopProperty,446);
button_copy.SetValue(Canvas.LeftProperty,240);
button_copy.Width = 310;
button_copy.Height = 166;

Example Text Element

1
2
3
4
5
6
7
8
9
10
TextBlock text = new TextBlock();
 
text.FontFamily = new FontFamily("ArialMT");
text.FontSize = 68;
text.Foreground = Color.FromArgb(255,255,255,255);
text.Text = "TEXT";
text.SetValue(Canvas.TopProperty,132);
text.SetValue(Canvas.LeftProperty,501);
text.Width = 227;
text.Height = 90;

Example Shape Element

1
2
3
4
5
6
7
8
9
Rectangle button_bg = new Rectangle();
 
button_bg.RadiusX = 30;
button_bg.RadiusY = 30;
button_bg.Fill = Color.FromArgb(255,206,54,54);
button_bg.SetValue(Canvas.TopProperty,72);
button_bg.SetValue(Canvas.LeftProperty,449);
button_bg.Width = 310;
button_bg.Height = 159;

Pro Features

Using Layer Kit Pro, you can customize the SilverLight 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
17
18
19
20
21
22
23
24
25
Rectangle button_bg = new Rectangle();
LinearGradientBrush button_bg_gb = new LinearGradientBrush();
DropShadowEffect button_bg_ds = new DropShadowEffect();
 
button_bg.RadiusX = 30;
button_bg.RadiusY = 30;
button_bg_gb.StartPoint = new Point(0,0);
button_bg_gb.EndPoint = new Point(0,1);
button_bg_gb.GradientStops.Add(new GradientStop(Color.FromArgb(255,37,18,18), 0.29));
button_bg_gb.GradientStops.Add(new GradientStop(Color.FromArgb(255,92,35,35), 0.65));
button_bg_gb.GradientStops.Add(new GradientStop(Color.FromArgb(255,206,54,54), 1));
 
button_bg.Fill = button_bg_gb;
button_bg.SetValue(Canvas.TopProperty,72);
button_bg.SetValue(Canvas.LeftProperty,449);
button_bg.Width = 310;
button_bg.Height = 159;
 
button_bg_ds.Color = Color.FromArgb(255,206,54,54);
button_bg_ds.ShadowDepth = 0;
button_bg_ds.BlurRadius = 25;
 
button_bg.Effect = button_bg_ds;
 
SuperGrid.Children.Add(button_bg);

Example Inline Content

1
2
3
4
5
6
7
8
9
10
11
12
Image button_copy = new Image();
BitmapImage button_copy_bitmap = new BitmapImage();
Uri button_copy_uri = new Uri("ms-appx:///skins/ek125_303_layer_effects.png");
 
button_copy_bitmap.UriSource = button_copy_uri;
button_copy.Source = button_copy_bitmap;
button_copy.SetValue(Canvas.TopProperty,446);
button_copy.SetValue(Canvas.LeftProperty,240);
button_copy.Width = 310;
button_copy.Height = 166;
 
SuperGrid.Children.Add(button_copy);

LOGIN NOW: Get instant access to our free Online Training - click here.

Using the Plugin

How To Guides

Help Us Improve


We aim to keep our content relevant with useful information, examples, samples and links. Tell us what you think!

I found the content:

Helpful
Confusing
Outdated
Broken Links
Bad Spelling
Too Short
Too Long

This page needs:

Nothing
Better Content
Links
Examples
Videos

Free Download


Responsive Webpage

A clean responsive webpage design for 3 target screens.

Start Your 14 Day Free Trial

Get instant access to your 14 Day Free Trial and Free Online Training. We guarantee your first conversion will 100% work - we work with you to ensure this, Contact Us or check the Community FAQs for assistance.

Connect With Us