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

map
The map.
enable
The value indicating whether snapping to edge is enabled/disabled.
Sets the value indicating whether snapping to edge is enabled/disabled.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetSnapToEdgeEnabled( _
   ByVal map As DependencyObject, _
   ByVal enable As Boolean _
) 
C# 
public static void SetSnapToEdgeEnabled( 
   DependencyObject map,
   bool enable
)

Remarks

You can change the default setting for SnapToEdgeEnabled by setting this attached property on the map. Example:
            <esri:Map esri:Editor.SnapToEdgeEnabled="True" />
            

Parameters

map
The map.
enable
The value indicating whether snapping to edge is enabled/disabled.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.