C# Class SuperMap.Web.Controls.ScaleBar

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: SuperMap/iClient-for-Silverlight

Méthodes publiques

Свойство Type Description
ColorProperty System.Windows.DependencyProperty
MapProperty System.Windows.DependencyProperty
TargetHeightProperty System.Windows.DependencyProperty
TargetWidthProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

${controls_ScaleBar_method_onApplyTemplate_D}

ScaleBar ( ) : System

${controls_ScaleBar_constructor_None_D}

Private Methods

Méthode 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 méthode

${controls_ScaleBar_method_onApplyTemplate_D}
public OnApplyTemplate ( ) : void
Résultat void

ScaleBar() public méthode

${controls_ScaleBar_constructor_None_D}
public ScaleBar ( ) : System
Résultat System

Property Details

ColorProperty public_oe static_oe property

${controls_ScaleBar_field_colorProperty_D}
public static DependencyProperty,System.Windows ColorProperty
Résultat System.Windows.DependencyProperty

MapProperty public_oe static_oe property

${controls_ScaleBar_field_mapProperty_D}
public static DependencyProperty,System.Windows MapProperty
Résultat System.Windows.DependencyProperty

TargetHeightProperty public_oe static_oe property

${controls_ScaleBar_field_targetHeightProperty_D}
public static DependencyProperty,System.Windows TargetHeightProperty
Résultat System.Windows.DependencyProperty

TargetWidthProperty public_oe static_oe property

${controls_ScaleBar_field_targetWidthProperty_D}
public static DependencyProperty,System.Windows TargetWidthProperty
Résultat System.Windows.DependencyProperty