C# Class SuperMap.WinRT.Controls.ScaleBar

Inheritance: Windows.UI.Xaml.Controls.Control
显示文件 Open project: SuperMap/iClient-for-Win8

Public Properties

Property Type Description
ColorProperty DependencyProperty
MapProperty DependencyProperty
TargetHeightProperty DependencyProperty
TargetWidthProperty DependencyProperty

Public Methods

Method Description
ScaleBar ( ) : System

${controls_ScaleBar_constructor_None_D}

Protected Methods

Method Description
OnApplyTemplate ( ) : void

${controls_ScaleBar_method_onApplyTemplate_D}

Private Methods

Method Description
GetBestEstimateOfValue ( double resolution, Unit displayUnit, Unit &unit, double &outResolution ) : double
OnMapPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
RefreshScaleBar ( ) : void
RoundToSignificant ( double value, double resolution ) : double
newMap_ViewBoundsChanged ( object sender, ViewBoundsEventArgs e ) : void

Method Details

OnApplyTemplate() protected method

${controls_ScaleBar_method_onApplyTemplate_D}
protected OnApplyTemplate ( ) : void
return void

ScaleBar() public method

${controls_ScaleBar_constructor_None_D}
public ScaleBar ( ) : System
return System

Property Details

ColorProperty public_oe static_oe property

${controls_ScaleBar_field_colorProperty_D}
public static DependencyProperty ColorProperty
return DependencyProperty

MapProperty public_oe static_oe property

${controls_ScaleBar_field_mapProperty_D}
public static DependencyProperty MapProperty
return DependencyProperty

TargetHeightProperty public_oe static_oe property

${controls_ScaleBar_field_targetHeightProperty_D}
public static DependencyProperty TargetHeightProperty
return DependencyProperty

TargetWidthProperty public_oe static_oe property

${controls_ScaleBar_field_targetWidthProperty_D}
public static DependencyProperty TargetWidthProperty
return DependencyProperty