Partager via


WpfDesktopApplicationUI.EnableApplicationClose(Window, Boolean) Method

Definition

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

Applies to