PopupHandlerAutoClose Method DW.WPFToolkit Documentation
Starts an observing of the window which contains the control to determine when the item has to be closed.

Namespace: DW.WPFToolkit.Helpers
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public void AutoClose(
	UIElement observedControl,
	Action closeMethod
)

Parameters

observedControl
Type: System.WindowsUIElement
The control which owner window has to be observed.
closeMethod
Type: SystemAction
The close callback. This gets invoked when the owner window has send notifications to close the popup.
Exceptions

ExceptionCondition
ArgumentNullExceptionobservedControl is null.
ArgumentNullExceptioncloseMethod is null.
See Also

Reference