ArcGIS API for WPF - Library Reference
OnTargetChanged Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Actions Namespace > MeasureAction Class : OnTargetChanged Method

oldTarget
The old target.
newTarget
The new target.
Called when the target property changes.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnTargetChanged( _
   ByVal oldTarget As Map, _
   ByVal newTarget As Map _
) 
C# 
protected override void OnTargetChanged( 
   Map oldTarget,
   Map newTarget
)

Parameters

oldTarget
The old target.
newTarget
The new target.

Remarks

Override this to hook and unhook functionality on the specified Target, rather than the AssociatedObject.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.