Child Window Style In Silverlight 3


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

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

Now open the solution in Blend 3.

Right Click on Child Window and select Edit Template.

You will find the following objects for the Child Window.

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

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

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

That’s it. Hope you like this style.