Quantcast
Viewing all articles
Browse latest Browse all 18858

Why is a Wait cursor being displayed and how can it be removed?

In a Wpf application using MVVM, Unity and Prism, the shell is creating a dialog box. The 'parent' is being disabled and the child dialog box is properly displayed but the dialog's cursor is a wait cursor, not the normal Arrow. I tried explicitly assigning the use of the Arrow cursor in the dialog box's XAML properties but that did not result in a proper cursor.

The 'dialogbox', OptionsView, is derived from a standard Wpf Windows class.

The shell's ViewModel receives a command and in this command the OptionsView is created and displayed.

    OptionsView view = new OptionsView();
    view.ShowDialog();

While the OptionsView is displaying the shell is disabled (which is what I want). However, the cursor as it goes across the shell is a normal arrow which I find surprising. I would have thought that it should have been a wait cursor. Equally surprising, the cursor on the OptionsView is a wait cursor but should be a normal arrow. What is going wrong and how can it be addressed?


Richard Lewis Haggard


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>