WpfDesktopApplicationUI.EnableApplicationClose Method (Window, Boolean)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
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)
Syntax
public static void EnableApplicationClose(
Window form,
bool isEnable
)
Public Shared Sub EnableApplicationClose (
form As Window,
isEnable As Boolean
)
Parameters
form
Type: System.Windows.WindowWindow
isEnable
Type: System.BooleanTrue to enable
See Also
WpfDesktopApplicationUI Class
Microsoft.Uii.Desktop.UI.Controls.Wpf Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright