C# 클래스 ESRI.ArcGIS.SilverlightMapApp.ScaleBar

상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: Esri/arcgis-templates-silverlight 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FillProperty System.Windows.DependencyProperty
MapProperty 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.

ScaleBar ( ) : System

Initializes a new instance of the ScaleBar class.

비공개 메소드들

메소드 설명
GetBestEstimateOfValue ( double resolution, ScaleBarUnit displayUnit, ScaleBarUnit &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.

OnMapPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RefreshScalebar ( ) : void

Refreshes the scalebar when the map extent changes.

RoundToSignificant ( double value, double resolution ) : double

Rounds to a value to the significant number of digits.

getBestEstimateOfValue ( double resolution, ESRI displayUnit, ESRI &unit, double &outResolution ) : double
getResolutionForGeographic ( ESRI extent, double resolution ) : double
map_ExtentChanged ( object sender, ESRI args ) : void

Handles the ExtentChanged and ExtentChanging event of the map control.

refreshScalebar ( ) : void
roundToSignificant ( double value, double resolution ) : double

메소드 상세

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

ScaleBar() 공개 메소드

Initializes a new instance of the ScaleBar class.
public ScaleBar ( ) : System
리턴 System

프로퍼티 상세

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

Identifies the Fill dependency property.
public static DependencyProperty,System.Windows FillProperty
리턴 System.Windows.DependencyProperty

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

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

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

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