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

  • Home
  • SEARCH
  • 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 main Window and several UserControls , that show in the same
I have a main window, that opens another window. I want to close this
i have a mvvm app that the main window is a tab control. i
I have an application with a main window that loads in text file(s) and
I have an application that uses MVVM. I have several items on the main
In my application I have an area in the main window that at any
In the current project we work on, we have a main window with several
In our project, we're using gtkmm and we have several classes that extend Gtk::Window
I have a qt application, window with several child widgets that are Qt::Tool windows.
I have main window which has inner grid components. When I press a button

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.