C# Class ESRI.ArcGIS.Client.Toolkit.Navigation

Inheritance: System.Windows.Controls.Control
Exibir arquivo Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Public Properties

Property Type Description
MapProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate.

SetupZoom ( ) : void

Sets up the parameters of the ZoomSlider

Protected Methods

Method Description
OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void

Called before the E:System.Windows.UIElement.MouseEnter event occurs.

OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void

Called before the E:System.Windows.UIElement.MouseLeave event occurs.

Private Methods

Method Description
ChangeVisualState ( bool useTransitions ) : void
GetAngle ( Point a, Point b ) : double
GoToState ( bool useTransitions, string stateName ) : bool
Layers_LayersInitialized ( object sender, EventArgs args ) : void
Map_ExtentChanged ( object sender, ExtentEventArgs args ) : void
Map_RotationChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Navigation ( ) : System

Static initialization for the Navigation control.

OnMapPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ResetRotation_Click ( object sender, RoutedEventArgs e ) : void
ResolutionToValue ( double resolution ) : double

Maps the map's resolution to a logirithmic scale between 0 and 1 which is used on the slider.

RotateRing_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
RotateRing_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
RotateRing_OnLostCapture ( object sender, EventArgs e ) : void
SetMapRotation ( double angle ) : void
ValueToResolution ( double value ) : double

Maps the slider values 0..1 to the map's resolution.

ZoomFullExtent_Click ( object sender, RoutedEventArgs e ) : void
ZoomInButton_Click ( object sender, RoutedEventArgs e ) : void
ZoomOutButton_Click ( object sender, RoutedEventArgs e ) : void
ZoomSlider_LostMouseCapture ( object sender, EventArgs e ) : void
enablePanElement ( FrameworkElement element ) : void
panElement_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
panElement_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseEventArgs e ) : void
startAppMouseTracking ( ) : void
stopAppMouseTracking ( ) : void

Method Details

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate.
public OnApplyTemplate ( ) : void
return void

OnMouseEnter() protected method

Called before the E:System.Windows.UIElement.MouseEnter event occurs.
protected OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs The data for the event.
return void

OnMouseLeave() protected method

Called before the E:System.Windows.UIElement.MouseLeave event occurs.
protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs The data for the event.
return void

SetupZoom() public method

Sets up the parameters of the ZoomSlider
public SetupZoom ( ) : void
return void

Property Details

MapProperty public_oe static_oe property

Identifies the Map dependency property.
public static DependencyProperty,System.Windows MapProperty
return System.Windows.DependencyProperty