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

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

Public Properties

Property Type Description
LayerProperty System.Windows.DependencyProperty
MapProperty System.Windows.DependencyProperty
ZoomFactorProperty 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.

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size

Provides the behavior for the "Arrange" pass of Silverlight layout. Classes can override this method to define their own arrange pass behavior.

Private Methods

Method Description
ApplyTranslationTransform ( double x, double y ) : void
Layers_LayersInitialized ( object sender, EventArgs args ) : void
MagnifyBox_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
MagnifyBox_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
MagnifyBox_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MagnifyingGlass ( ) : System

Static initialization for the MagnifyingGlass control.

OnLayerPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMapPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnZoomFactorPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetMagnifyResolution ( ) : void
UpdateMagnifyMapCenter ( ) : void
map_ExtentChanged ( object sender, ExtentEventArgs e ) : void
map_ExtentChanging ( object sender, ExtentEventArgs e ) : void
map_RotationChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

ArrangeOverride() protected method

Provides the behavior for the "Arrange" pass of Silverlight layout. Classes can override this method to define their own arrange pass behavior.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final area within the parent that /// this object should use to arrange itself and its children.
return System.Windows.Size

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

Property Details

LayerProperty public_oe static_oe property

Identifies the Layer dependency property.
public static DependencyProperty,System.Windows LayerProperty
return System.Windows.DependencyProperty

MapProperty public_oe static_oe property

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

ZoomFactorProperty public_oe static_oe property

Identifies the ZoomFactor dependency property.
public static DependencyProperty,System.Windows ZoomFactorProperty
return System.Windows.DependencyProperty