layout: default title: SliderSegmentDragEvent parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

SliderSegmentDragEvent Class

Event arguments for the OnSegmentDrag event.

public class SliderSegmentDragEvent :
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Widgets.SliderSegmentDragEvent>

Inheritance System.Object 🡒 SliderSegmentDragEvent

Implements System.IEquatable<SliderSegmentDragEvent>

Constructors

SliderSegmentDragEvent(int, SliderDragState, int[]) Constructor

Event arguments for the OnSegmentDrag event.

public SliderSegmentDragEvent(int Index, dymaptic.GeoBlazor.Core.Components.Widgets.SliderDragState State, int[] ThumbIndices);

Parameters

Index System.Int32

The 1-based index of the segment on the slider.

State SliderDragState

The state of the drag.

ThumbIndices System.Int32[]

The indices of the thumbs on each end of the segment.

Properties

SliderSegmentDragEvent.Index Property

The 1-based index of the segment on the slider.

public int Index { get; set; }

Property Value

System.Int32

SliderSegmentDragEvent.State Property

The state of the drag.

public dymaptic.GeoBlazor.Core.Components.Widgets.SliderDragState State { get; set; }

Property Value

SliderDragState

SliderSegmentDragEvent.ThumbIndices Property

The indices of the thumbs on each end of the segment.

public int[] ThumbIndices { get; set; }

Property Value

System.Int32[]