WpfDesktopApplicationUI.EnableApplicationClose Method
Added here by necessity --> should be in Win32Api or other helper class not sure if this working for WPF...
Namespace: Microsoft.Uii.Desktop.UI.Controls.Wpf
Assembly: Microsoft.Uii.Desktop.UI.Controls.Wpf (in Microsoft.Uii.Desktop.UI.Controls.Wpf.dll)
Usage
'Usage
Dim form As Window
Dim isEnable As Boolean
WpfDesktopApplicationUI.EnableApplicationClose(form, isEnable)
Syntax
'Declaration
Public Shared Sub EnableApplicationClose ( _
form As Window, _
isEnable As Boolean _
)
public static void EnableApplicationClose (
Window form,
bool isEnable
)
public:
static void EnableApplicationClose (
Window^ form,
bool isEnable
)
public static void EnableApplicationClose (
Window form,
boolean isEnable
)
public static function EnableApplicationClose (
form : Window,
isEnable : boolean
)
Parameters
- form
Window
- isEnable
True to enable
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
WpfDesktopApplicationUI Class
WpfDesktopApplicationUI Members
Microsoft.Uii.Desktop.UI.Controls.Wpf Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.