Skip to content

CurrentScaleChangingMapViewEventArgs

Namespace: ThinkGeo.UI.Wpf

Provides data for the CurrentScaleChanged event.

public class CurrentScaleChangingMapViewEventArgs : System.EventArgs

Inheritance ObjectEventArgsCurrentScaleChangingMapViewEventArgs

Properties

OldScale

Gets the scale value prior to the change.

public double OldScale { get; }

Property Value

Double

NewScale

Gets the scale value being applied.

public double NewScale { get; }

Property Value

Double

Cancel

Gets or sets a value indicating whether the scale change should be cancelled.

public bool Cancel { get; set; }

Property Value

Boolean

Constructors

CurrentScaleChangingMapViewEventArgs(Double, Double)

Initializes a new instance of the CurrentScaleChangingMapViewEventArgs class.

public CurrentScaleChangingMapViewEventArgs(double oldScale, double newScale)

Parameters

oldScale Double
The old scale.

newScale Double
The new scale.