C# 클래스 ESRI.ArcGIS.Client.Toolkit.ScaleLine

상속: System.Windows.Controls.Control, INotifyPropertyChanged
파일 보기 프로젝트 열기: Esri/arcgis-toolkit-sl-wpf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MapProperty System.Windows.DependencyProperty
MapUnitProperty System.Windows.DependencyProperty
TargetWidthProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
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. In simplest terms, this means the method is called just before a UI element displays in an application.

비공개 메소드들

메소드 설명
GetBestEstimateOfValue ( double resolution, ScaleLineUnit displayUnit, ScaleLineUnit &unit, double &outResolution ) : double
GetResolutionForGeographic ( MapPoint center, double resolution ) : double

Calculates horizontal scale at center of extent for geographic / Plate Carrée projection. Horizontal scale is 0 at the poles.

InitializeMapUnit ( ) : void

Try to initialize the map units

Map_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
OnMapPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMapPropertyChanged ( Map oldMap, Map newMap ) : void
OnMapUnitPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPropertyChanged ( string propertyName ) : void
OnTargetWidthPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RefreshScaleline ( ) : void

Refreshes the scaleline when the map extent changes.

RoundToSignificant ( double value, double resolution ) : double

Rounds to a value to the significant number of digits.

ScaleLine ( ) : System

Static initialization for the ScaleLine control.

SetDesignValues ( ) : void

Sets the design values.

map_ExtentChanged ( object sender, ExtentEventArgs args ) : void

Handles the ExtentChanged and ExtentChanging event of the map control.

메소드 상세

OnApplyTemplate() 공개 메소드

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. In simplest terms, this means the method is called just before a UI element displays in an application.
public OnApplyTemplate ( ) : void
리턴 void

프로퍼티 상세

MapProperty 공개적으로 정적으로 프로퍼티

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

MapUnitProperty 공개적으로 정적으로 프로퍼티

Identifies the MapUnit dependency property.
public static DependencyProperty,System.Windows MapUnitProperty
리턴 System.Windows.DependencyProperty

TargetWidthProperty 공개적으로 정적으로 프로퍼티

Identifies the TargetWidth dependency property.
public static DependencyProperty,System.Windows TargetWidthProperty
리턴 System.Windows.DependencyProperty