Visual Basic (Declaration) | |
---|---|
Public Shared Sub SetSnapToEdgeEnabled( _ ByVal map As DependencyObject, _ ByVal enable As Boolean _ ) |
C# | |
---|---|
public static void SetSnapToEdgeEnabled( DependencyObject map, bool enable ) |
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.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7