Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
XamRibbonWindow
posted

How do I pop up XamDialogWindow from XamRibbonWindow?

Thanks in advance.

Parents
No Data
Reply
  • 28407
    posted

    HI,

     You could wire up a button click event from your ribbon.

      Here are some code snippets to show and hide the XamDialogWindow

     

     

     

    private void ButtonTool_Click(object sender, RoutedEventArgs e)

    {

    xamDialogWindow1.Show(); //show the window

    }

     

     

    private void ButtonTool_Click_1(object sender, RoutedEventArgs e)

    {

    xamDialogWindow1.WindowState = Infragistics.Controls.Interactions.

     

    WindowState.Hidden; //hide it

    }

     

     

    private void ButtonTool_Click_2(object sender, RoutedEventArgs e)

    {

    xamDialogWindow1.WindowState = Infragistics.Controls.Interactions.

     

    WindowState.Normal; //show it

    }

     Sincerely,
     Matt
     Developer Support Engineer

     

Children