silverlight shutdown command

Posted on 2009-04-30
Last Modified: 2013-11-12
I am converting an app from wpf to silverlight.  The shutdown command in WPF is:


Anyone know the command in Silverlight?

Question by:dchau12
    LVL 9

    Expert Comment

    sorry, we dont' have the command in Silverlight.
    do you want to close a silverlight control..or.. what are u looking for.

    Author Comment

    I am trying to close down the app
    LVL 8

    Accepted Solution


    If you want to close the browser window, put the following code where you want to close,


    and put a CloseWindow javascript function on your page:

    function CloseWindow()

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
    For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now