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

map
The map.
key
The key to use for snapping.
Sets the SnapKey used on the map when drawing

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetSnapKey( _
   ByVal map As DependencyObject, _
   ByVal key As Key _
) 
C# 
public static void SetSnapKey( 
   DependencyObject map,
   Key key
)

Parameters

map
The map.
key
The key to use for snapping.

Remarks

You can change the default snap key for drawing by setting this attached property on the map. Example:
            <esri:Map esri:Editor.SnapKey="A" />
            

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.