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
1118
IsModal=True is not modal
posted

I'm using 12.1. XamDialogWindow being set to IsModal=True is not working like  a WinForm dialog window.

 

Quoting the online help: "Modal dialog – This dialog window always maintains the active window status until it is closed. When a modal dialog window is opened, your end user cannot interact with any other part of the application until the dialog window is closed"

Look at the sample provided with the product. Click "Open Modal Window". Dialog windows are supposed to keep focus and block access to the rest of the app until it's closed. This is not the behavior. You can click on the other tabs (xaml, snippet, etc), the toolbar type buttons on the top are accessible and the app options on the left are also accessible. Click the XAML tab, then back to the Sample tab (which should not be allowed) and the Dialog Window is closed.

Does XamDialogWindow work as a modal window?

Parents
No Data
Reply
  • 12004
    posted

    Hello James,

    In the samples browser the XamDialogWindow is within a TabControl container, this would be the case for the tabs to be active.

    When setting the XamDialogWindow outside of the TabControl will set those controls to be in-active.

    I have attached a sample.

    xamDialogWindow1.zip
Children