Reader Level:
Articles

Child Window Style in Silverlight 3

By Diptimaya Patra on November 06, 2009
In this article we will see how we can change ChildWindow Style.
  • 0
  • 0
  • 14232
Download Files:
 

Introduction

In this article we will see how we can change ChildWindow Style. ChildWindow comes with Silverlight 3 and we have an Error Window in Silverlight Navigation application.

Creating Silverlight Application

1.gif

This is a simple Silverlight application so we will create a ChildWindow first.

2.gif

Now open the solution in Blend 3.

Right Click on Child Window and select Edit Template.

3.gif

You will find the following objects for the Child Window.

4.gif

I have just changed the color of the Border Chrome to Blue and the Foreground of Content Presenter to White.

5.gif

Now go back to Child Window and adjust your custom width and height of Child Window.

6.gif

Now run your application to see the custom styled Child Window.

7.gif

That's it. Hope you like this style.

Diptimaya Patra

Visit in http://diptimayapatra.wordpress.com for latest articles.Facebook Page: https://www.facebook.com/MethodOfTried

COMMENT USING

Trending up