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

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Méthodes publiques

Свойство Type Description
MapProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat void

OnMouseEnter() protected méthode

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.
Résultat void

OnMouseLeave() protected méthode

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.
Résultat void

SetupZoom() public méthode

Sets up the parameters of the ZoomSlider
public SetupZoom ( ) : void
Résultat void

Property Details

MapProperty public_oe static_oe property

Identifies the Map dependency property.
public static DependencyProperty,System.Windows MapProperty
Résultat System.Windows.DependencyProperty