Share via


WindowViewModel.OnWindowClosing Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Allows Window.OnClosing hook

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Protected Friend Overridable Sub OnWindowClosing ( _
    e As CancelEventArgs _
)
protected internal virtual void OnWindowClosing(
    CancelEventArgs e
)
protected public:
virtual void OnWindowClosing(
    CancelEventArgs^ e
)
abstract OnWindowClosing : 
        e:CancelEventArgs -> unit  
override OnWindowClosing : 
        e:CancelEventArgs -> unit
function OnWindowClosing(
    e : CancelEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

WindowViewModel Class

Microsoft.TeamFoundation.MVVM Namespace