WpfDesktopApplicationUI.EnableApplicationClose(Window, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Added here by necessity --> should be in Win32Api or other helper class not sure if this working for WPF...
public:
static void EnableApplicationClose(System::Windows::Window ^ form, bool isEnable);
public static void EnableApplicationClose (System.Windows.Window form, bool isEnable);
static member EnableApplicationClose : System.Windows.Window * bool -> unit
Public Shared Sub EnableApplicationClose (form As Window, isEnable As Boolean)
Parameters
- form
- Window
Window
- isEnable
- Boolean
True to enable