Dela via


MouseWheelParameters.DeltaScale Property

Definition

Gets or sets a value that indicates the change in scale associated with input from the wheel button of a mouse.

public:
 property float DeltaScale { float get(); void set(float value); };
float DeltaScale();

void DeltaScale(float value);
public float DeltaScale { get; set; }
var single = mouseWheelParameters.deltaScale;
mouseWheelParameters.deltaScale = single;
Public Property DeltaScale As Single

Property Value

Single

float

The relative change in scale, in degrees.

Remarks

DeltaScale maps a single notch (unitary rotation) of the wheel button to a scale multiplier or divider (for example, 1.1).

Rotating the wheel button forward or tilting it to the right results in a scale increase. Rotating backward or tilting to the left results in a scale decrease.

Applies to