Symphony Framework
CheckProcessingEventHandler Delegate
Symphony.Conductor.Framework Namespace : CheckProcessingEventHandler Delegate
This deligate allows your component to control if it can be closed or not.
Syntax
public delegate bool CheckProcessingEventHandler()

Return Value

Returns True if the component can be closed, else False.
Remarks
If you return True the component can be closed. This does not mean it IS closing, just that it CAN be closed. If you return False then the component can't be closed and the main controlling component will navigate to that component's visual state. Your code should for example, navigate to a visual state to display a "Close Program?" question.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CheckProcessingEventHandler Members
Symphony.Conductor.Framework Namespace