.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> Silverlight >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Create Child Window Style In Silverlight

Posted By:Diptimaya Patra       Posted Date: March 15, 2010    Points: 25    Category: Silverlight    URL: http://www.dotnetspark.com  

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.
 

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.
 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend