Share via


PropertyPage.OnKillActive Method ()

 

Sends a notification that the property page is about to lose activation either because another page is being activated or because the user has clicked the OK button. The default implementation allows the property page to be de-activated.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

protected internal virtual bool OnKillActive()
public protected:
virtual bool OnKillActive()
abstract OnKillActive : unit -> bool
override OnKillActive : unit -> bool
Protected Friend Overridable Function OnKillActive As Boolean

Return Value

Type: System.Boolean

The return value indicates whether the property page can be closed. The default implementation of this method allows the operation to proceed. The owner of the page can override it and block the request by returning false.

See Also

PropertyPage Class
Microsoft.ManagementConsole Namespace

Return to top