Skip Navigation LinksHome / Search


Results Per Page

Found 15 results for ChildWindow.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

  • 1
  • 2
Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Jun 10, 2010 (2 weeks ago)
    Check out this step by step tutorial by Martin Krüger(SilverLaw) about how to make a ChildWindow rotate.

    This day I read a question at the Expression Blend and Scetchflow Forum about how to make a ChildWindow rotate. Interesting enough to build a quick and simple solution for that, including a rotation when the ChildWindow opens. So here it is. You can view an example and download the sourcecode of a sample application at the Expression Gallery. The Sourcecode is Silverlight 3, but the implementation for Silverlight 4 is similar.

    The following step by step tutorial builds a Silverlight 4 app.

  • 0 comments  /  posted by  LawBot  on  Jun 07, 2010 (2 weeks ago)
    I wrote a tutorial about a general solution to make a regular Silverlight 3 and 4 ChildWindow rotate. Quite straight forward. Additionally to the sourcecode of the contribution at the Expression Gallery the tutorial describes a reliable technique how to add a rotation at the Open procedure of a ChildWindow - ChildWindow.Show() -. This technique gives the opportunity to add every animation of your choice to the open procedure of a ChildWindow and therefore provides a solution to in full customize the open procedure.

    Have fun!

    Martin (LawBot / SilverLaw)

  • 0 comments  /  posted by  Silverlight Show  on  Apr 19, 2010 (2 months ago)
    This article of SilverLaw describes how to get the actual position of a regular Silverlight 3 ChildWindow at runtime.

    To reposition a ChildWindow at runtime a user does a left click on the title bar of the childwindow, drags the childwindow, moves it around and drops it at it's new position. When the user drops the ChildWindow he releases the mouse button and a MouseLeftButtonUpEvent fires. This event is fired by the Chrome, which is a ChildWinow Control Template Part. 

  • 0 comments  /  posted by  Silverlight Show  on  Apr 09, 2010 (2 months ago)
    SilverLaw has created a Silverlight 3 behavior that provides resizing for a regular Silverlight 3 ChildWindow using mouse wheel scroll including Blend 3 design time support.

    Short description:  

    1. Import System.Windows.Interactivity.dll.

    2. Add a reference to the .dll in the download.

    3. Drag the behavior from the asset panel onto a ChildWindow.

    4. Set a fixed width and height to the ChildWindow. Set width and height of the Layoutroot to Auto.

  • 0 comments  /  posted by  Silverlight Show  on  Feb 16, 2010 (4 months ago)
    LawBot has one cool example of a styled ChildWindow, including a styled Accordion.

    The Silverlight 3 ChildWindow is not very attractive. So I decided to design it with some styling. I also styled a Silverlight 3 Toolkit Accordion Control. Both I put together and made an upload to the Expression Gallery as a full sourcecode example, licensed under Creative Commons.

    Especially the sourcecode of the Accordion styling might be truly helpful for your own styling adventures. And in fact: Styling a Silverlight 3 Toolkit Accordion Control is really an adventure.

  • 6 comments  /  posted by  Andrea Boschin  on  Nov 17, 2009 (7 months ago)
    Programming Model-View-ViewModel applications with Silverlight is not always an easy task. In many cases there are some architectural obstacles that prevent from correctly applying the pattern. The ChildWindow control is affected by this problem because it cannot be opened or closed through a property bound to the ViewModel. In this article I will show how to use the EventAggregator and a Unity Service with Prism v2 to decouple the ChildWindows from the ViewModels and let the MVVM architecture to work effectively.
  • Decoupled ChildWindow Dialogs with Prism in Silverlight 3

    0 comments  /  posted by  Silverlight Show  on  Oct 19, 2009 (8 months ago)

    In this article Jeremy Likness demonstrates how to build decoupled ChildWindow dialogs using Prism.

    A common user interface component is the confirmation or message box, which is often presented as a dialog returns a boolean (OK/Cancel). There are a variety of ways to achieve this, but how can you decouple the implementation of the popup from the request itself? This is necessary, for example, for unit testing when you may not have a UI available. This article demonstrates one solution using Silverlight and the Composite Application Guidance library, also known as Prism.

  • Silverlight Quick Tip: ChildWindow Title Customization

    0 comments  /  posted by  Silverlight Show  on  Sep 25, 2009 (9 months ago)
    Alex Golesh has discovered a nice feature of ChildWindow control in Silverlight 3 and wants to share it with you.
    I was at client’s location and been asked about the ChildWindow title customization with an icon. I had to admit, that I never tried to put something different than text and immediately looked at the type of Title property. For my surprise I found that the property is an “object”, and assumed that it could behave as a ContentPresenter/ContentControl. After 5 minutes I had the client’s request solved.
  • Custom ChildWindow Popup

    0 comments  /  posted by  Silverlight Show  on  Sep 10, 2009 (9 months ago)

    In this example Allan Muller has placed a button inside a StackPanel which once clicked, shows the ChildWindow.

    What I do is create the ChildWindow on MainPage Loaded event as a private member and then I can just show or hide it. The reason I do not just keep creating new instances of the ChildWindow is because the garbage collection in Silverlight isn’t the greatest and I would prefer to keep my apps to a minimum.

  • Silverlight 3 Tutorial: How To Use ChildWindow

    0 comments  /  posted by  Silverlight Show  on  Aug 31, 2009 (9 months ago)
    This Silverlight 3 tutorial (webcast) shows 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.

  • 1
  • 2
Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)