layout: default title: SliderSegmentClickEvent parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

SliderSegmentClickEvent Class

Event arguments for the OnSegmentClick event.

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

Inheritance System.Object 🡒 SliderSegmentClickEvent

Implements System.IEquatable<SliderSegmentClickEvent>

Constructors

SliderSegmentClickEvent(int, int[], double) Constructor

Event arguments for the OnSegmentClick event.

public SliderSegmentClickEvent(int Index, int[] ThumbIndices, double Value);

Parameters

Index System.Int32

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

ThumbIndices System.Int32[]

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

Value System.Double

The approximate value of the slider at the location of the click event.

Properties

SliderSegmentClickEvent.Index Property

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

public int Index { get; set; }

Property Value

System.Int32

SliderSegmentClickEvent.ThumbIndices Property

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

public int[] ThumbIndices { get; set; }

Property Value

System.Int32[]

SliderSegmentClickEvent.Value Property

The approximate value of the slider at the location of the click event.

public double Value { get; set; }

Property Value

System.Double