Keep flyout open with another flyout? RRS feed

  • Question

  • I have a button flyout inside another flyout. When I press on the button for its flyout, the containing flyout closes. How do I keep both flyouts open at the same time?
    Monday, March 30, 2015 9:59 PM


  • Hi RandyPete,

    >>How do I keep both flyouts open at the same time?

    In my mind one workaround for this is to use a Popup control instead of the first Flyout control, in this way we can let the Popup control and the second Flyout control keep open at the same time.

    The following is a code snippet, please try to check it:

    <Button Content="ButtonClick" Click="Button_Click" />
    <Popup Name="MyPopup">
           <Grid Width="300" Height="300" Background="Gray">
                 <Button Content="ShowtheFlyout">
                           <Grid Background="red"></Grid>

    private void Button_Click(object sender, RoutedEventArgs e)
                MyPopup.IsOpen = true;

    Best Regards,
    Amy Peng

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, March 31, 2015 6:15 AM