C# Class SuperMap.Web.Controls.ScaleBar

Inheritance: System.Windows.Controls.Control
Mostrar archivo Open project: SuperMap/iClient-for-Silverlight

Public Properties

Property Type Description
ColorProperty System.Windows.DependencyProperty
MapProperty System.Windows.DependencyProperty
TargetHeightProperty System.Windows.DependencyProperty
TargetWidthProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

${controls_ScaleBar_method_onApplyTemplate_D}

ScaleBar ( ) : System

${controls_ScaleBar_constructor_None_D}

Private Methods

Method Description
GetBestEstimateOfValue ( double resolution, Unit displayUnit, Unit &unit, double &outResolution ) : double
GetResolution ( Rectangle2D bounds, double resolution, bool isMeter ) : double
OnMapPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RefreshScaleBar ( ) : void
RoundToSignificant ( double value, double resolution ) : double
newMap_ViewBoundsChanged ( object sender, ViewBoundsEventArgs e ) : void

Method Details

OnApplyTemplate() public method

${controls_ScaleBar_method_onApplyTemplate_D}
public 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,System.Windows ColorProperty
return System.Windows.DependencyProperty

MapProperty public_oe static_oe property

${controls_ScaleBar_field_mapProperty_D}
public static DependencyProperty,System.Windows MapProperty
return System.Windows.DependencyProperty

TargetHeightProperty public_oe static_oe property

${controls_ScaleBar_field_targetHeightProperty_D}
public static DependencyProperty,System.Windows TargetHeightProperty
return System.Windows.DependencyProperty

TargetWidthProperty public_oe static_oe property

${controls_ScaleBar_field_targetWidthProperty_D}
public static DependencyProperty,System.Windows TargetWidthProperty
return System.Windows.DependencyProperty