Symphony Framework
DefineSender Method
Symphony.Conductor.Framework Namespace > VMMessenger Class : DefineSender Method
The calling programs ViewModel instance (for WPF).
The Visual State name to navigate to when requested.
The delegate method called to check if the component can close.
The delegate method called to close the component.
Define ViewModel items that existing within your application as you create them.
Syntax

Parameters

viewModel
The calling programs ViewModel instance (for WPF).
vsName
The Visual State name to navigate to when requested.
checkProcessing
The delegate method called to check if the component can close.
closeProcessing
The delegate method called to close the component.
Remarks
By passing the visual state name the host View Model can navigate to the correct visual state when requested.
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

VMMessenger Class
VMMessenger Members