SIGN UP MEMBER LOGIN:    
ARTICLE

Child Window Style in Silverlight 3

Posted by Diptimaya Patra Articles | Silverlight with C# November 06, 2009
In this article we will see how we can change ChildWindow Style.
Reader Level:
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.

Login to add your contents and source code to this article
share this article :
post comment
 
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor