Skip to content

SliderValueChangedEventArgs ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Event arguments for slider value change events.

csharp
public sealed class SliderValueChangedEventArgs : WidgetEventArgs<SliderWidget, SliderNode>

Inheritance ​

Object → WidgetEventArgs → WidgetEventArgs<SliderWidget, SliderNode> → SliderValueChangedEventArgs

Properties ​

Maximum ​

The maximum value of the slider range.

Returns: Double

csharp
public double Maximum { get; }

Minimum ​

The minimum value of the slider range.

Returns: Double

csharp
public double Minimum { get; }

Percentage ​

The current value as a percentage (0.0 to 1.0) of the range.

Returns: Double

csharp
public double Percentage { get; }

PreviousValue ​

The previous value before the change.

Returns: Double

csharp
public double PreviousValue { get; }

Value ​

The new value of the slider.

Returns: Double

csharp
public double Value { get; }

Remarks ​

This event is fired for all input types: keyboard, click, drag, and scroll wheel. All events include the full for focus navigation and other app-level operations.

Released under the MIT License.