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

bool

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.