IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace : TriggerTargetNavigator Delegate |
'Declaration
Public Delegate Function TriggerTargetNavigator( _ ByVal instance As Object _ ) As Object
'Usage
Dim instance As New TriggerTargetNavigator(AddressOf HandlerMethod)
// Assume a DelegateVerifier defined for Employee. Create a trigger item for OrderSummary.OrderDate. var item = new TriggerItem(typeof(OrderSummary), OrderSummary.PropertyMetadata.OrderDate.Name); TriggerTargetNavigator navigator = (order) => ((OrderSummary)order).Employee; var link = new TriggerLink(item, navigator, false);
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