This Silverlight tutorial (webcast) will show you how to use and customize ChildWindow object. ChildWindow can be used as a pop-up dialog or window in your Silverlight 3 applications. This webcast shows how to add, launch, change background overlay color and opacity and position your ChildWindow.
This webcast is about 10 minutes long and you will need Silverlight to watch it. Some of the topics covered are:
To watch the video in full screen mode, just double-click on it.
You can take it from here:
The fact that the windows can only be added through code is a major flaw in the design time experience.
I can’t just I can’t just create the childwindow usercontrol with my own styling, and then drag it onto the design surface in my main page, add contents to it etc, then use the ChangePropertyAction to open/close it when I click on a button.
I would like to just use it as a reusable window that the user can open any number of and move around on the screen. However so far I had to create my own window control from scratch instead.
I see your point but I’m guessing that SL team wanted to keep the consistency with the way how you open new windows when using WPF. Then again, I know that number of WPF, Silverlight and Expression team members are reading this blog too so your comment will be noticed.
And yes – your workaround for creating your own, custom, window control (as a user control) and adding it to the design surface seems to be simplest way, and then you can handle its appearance and properties either through the code or by using behaviors.
Thanks for the comment, a keep up the great work with SharpGIS – I’m a big fan!
Speaking of interface design, my connection will only run this Silverlight movie steam for about 2 second before it starts to load again, over and over 2 second at a time. I patient but not that patient. Is there a way to give me and others with slow connections, a smaller, lower quality stream or let me download entire file and then play it?
I like the idea of this site, I just want to watch the videos.
Mike greenway
There you go – this is great suggestion – from now on – I will add link to the video file so you can download it directly. Check back a bit later during the day and you should be able to find it. Thanks for feedback and suggestion!
Thank You Very Much. I love it.
It has been a while sense I was here last. Now I’m running across some silverlight streams that will let me pause the video and the stream keeps downloading.
Thats cool!
Thanks again
Mike Greenway
Thank you, Mike, for your comment and support! Sincerely appreciated!
Hi UXPassion people.
Even with my slow connection today i was able to use the silverlight player to watch the video. I found I helpful and easy to follow.
I did notice you thing that was fighting me as I was foolowing the video and playing with it in blend at the same time. The full screen control take s two clickes to get to it, that isn’t bad the first time as it keeps the UI simple, but everytime I clicked into blen on my other monitor, the player pops back to small display and to get back to full screen I have to first enable the full control panel, then click full screen again.
I don’t think you can do anything about it shrinking when I click another app, but the UI manipulation to get back to full sceen could use some help.
Not a big deal, but it is a small UX issue.
Thanks for the tutorials and please keep up the good work.
Mike Greenway
I think you can hit “F” to go to full screen, does it work for you?
thank you for the video I have problem when I click on my button the windowchild shows very very tiny it supposes to show a video. and gives me an error because I’m using framework 4.0.unable to find an assembly microsoft.build.task. v4.0
Hi adlan,
I don’t think there should be any effect of having .NET Framework 4 (Beta 2 I guess) running parallel with Silverlight 3 since Silverlight does not require or relate to NET. Would you mind sharing part of your code or you can send me your solution at vc {at} fatdux {dot} com so I can take a look!
Nice tutorial. I’ve enjoyed your Silverlight and Expression Blend 3 videos very much. There’s so many new features to take in and I don’t want to miss any that could be useful to me. Your piece-by-piece introduction to the new features is just what I am looking for.
Please keep up the good work! I anxiously await more screencasts.
Thats was pretty cool Thanks