locked
what control to use for having a side panel appearing RRS feed

  • Question

  • what control is used in order to have a right side panel appearing with controls on it. like the one in the picture.

    I am learning to create a software using visual studio for windows store apps c#, xaml.

    this menu slides from the right whenever a menu option is selected

    Friday, August 9, 2013 4:26 PM

Answers

  • I think Callisto has one of these in it.  http://timheuer.github.io/callisto/

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, August 9, 2013 6:24 PM
    Moderator

All replies

  • I think Callisto has one of these in it.  http://timheuer.github.io/callisto/

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, August 9, 2013 6:24 PM
    Moderator
  • You can use Popup:

    <Popup x:Name="DirectionPopup" IsLightDismissEnabled="True">
                <Popup.ChildTransitions>
                    <TransitionCollection>
                        <PaneThemeTransition />
                    </TransitionCollection>
                </Popup.ChildTransitions>
                <PutYourDirectionsUserControlHere/>
            </Popup>

     private void Button_Click(object sender, RoutedEventArgs e)
            {
                if (!DirectionPopup.IsOpen)
                {              
                    DirectionPopup.HorizontalOffset = Window.Current.Bounds.Width - WidthOfYourDirectionControl;
                    DirectionPopup.IsOpen = true;
                }
            }

    Friday, August 9, 2013 7:40 PM
  • You are looking for Flyout control and as Matt suggests look for https://github.com/timheuer/callisto/wiki/Flyout

    -- Vishal Kaushik --

    Please 'Mark as Answer' if my post answers your question and 'Vote as Helpful' if it helps you. Happy Coding!!!

    Friday, August 9, 2013 7:49 PM