Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 934883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:04:16+00:00 2026-05-15T21:04:16+00:00

On my main window, I have several different buttons and fields that are already

  • 0

On my main window, I have several different buttons and fields that are already working. They are basically a calculator that hides the calculations from the user.

However, I would like to add a button that says “How does it work?” and which slides a new pane in from the side when pressed.

I am doing this on the Windows Phone 7 emulator, but I am using Silverlight.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T21:04:17+00:00Added an answer on May 15, 2026 at 9:04 pm

    If you want to home brew this it would be fairly trivial. I would just use the VisualStateManager. Have 2 states for your “How does it work” pane.

    1. HowDoIWork_Visible
    2. HowDoIWork_Hidden

    To accomplish the sliding effect you’ll need to have the position the pane off the screen. So I would add a TranslateTransform to the RenderTransform property of the pane. Its “X” attribute set would originally be set to the negative width of your pane. For more info see TranslateTransform:

    For the HowDoIWork_Visible state set the X property of the TranslateTransform to 0. and the Visibility to “Visible” or the Opacity to “1.0”.

    Now create the HowDoIWork_Hidden state so you can once again hide the pane. Set the pane’s Visibility to “Collapsed” or its Opacity to “0.0”. Also set the X property of the TranslateTransform back to the Width.

    When the user clicks the Button you just need to call:

    VisualStateManager.GoToState("HowDoIWork_Visible");
    

    To hide the pane again:

    VisualStateManager.GoToState("HowDoIWork_Hidden");
    

    Other ideas…

    You may also be able to adapt the Silverlight Toolkit’s Accordion to do what you want:
    http://silverlight.codeplex.com/wikipage?title=Silverlight%20Toolkit%20Control%20Overview%20Pg1&referringTitle=Home

    If you’re not stuck on the sliding in effect the ChildWindow provides an easy way to open up a dialog type view.
    http://www.wintellect.com/CS/blogs/jprosise/archive/2009/04/29/silverlight-3-s-new-child-windows.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small application to convert several file formats, with a main windows
I have a main window (#1) on my webpage from which I open a
I have an Air application with a main window. I would like to have
My main window has spawned a child window that's positioned on top to look
I'm working on several programs right now, and have become frustrated over some of
I'd like to have the coordinates relative to the main window, therefore I'm using
I have injected my dll into process. How can I get Main window handle
I have a file called hellowf.cs class MyFirstApp { static void Main() { System.Windows.Forms.MessageBox.Show(Hello,
I have a scenario. (Windows Forms, C#, .NET) There is a main form which
Background: My application has a main window which contains a few smaller NSView objects,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.