Table of Contents

Class SliderField<T>

Namespace
AbanoubNassem.Trinity.Fields
Assembly
AbanoubNassem.Trinity.dll

Represents a slider field.

public class SliderField<T> : TrinityField<SliderField<T>, T>, ITrinityComponent, ITrinityField, IFormComponent

Type Parameters

T
Inheritance
SliderField<T>
Implements
Derived
Inherited Members

Constructors

SliderField(string)

public SliderField(string columnName)

Parameters

columnName string

Properties

ComponentName

The component name in the front-end side.

public override string ComponentName { get; }

Property Value

string

Max

Gets or sets the maximum value of the slider field.

public int Max { get; protected set; }

Property Value

int

Min

Gets or sets the minimum value of the slider field.

public int Min { get; protected set; }

Property Value

int

Orientation

Gets or sets the orientation of the slider field.

public string Orientation { get; protected set; }

Property Value

string

Step

Gets or sets the step of the slider field.

public int Step { get; protected set; }

Property Value

int

Methods

SetMax(int)

Sets the maximum value of the slider field.

public SliderField<T> SetMax(int max)

Parameters

max int

The maximum value of the slider field.

Returns

SliderField<T>

The current instance of the SliderField<T> class.

SetMin(int)

Sets the minimum value of the slider field.

public SliderField<T> SetMin(int min)

Parameters

min int

The minimum value of the slider field.

Returns

SliderField<T>

The current instance of the SliderField<T> class.

SetOrientation(OrientationType)

Sets the orientation of the slider field.

public SliderField<T> SetOrientation(OrientationType orientation)

Parameters

orientation OrientationType

The orientation of the slider field.

Returns

SliderField<T>

The current instance of the SliderField<T> class.

SetStep(int)

Sets the step of the slider field.

public SliderField<T> SetStep(int step)

Parameters

step int

The step of the slider field.

Returns

SliderField<T>

The current instance of the SliderField<T> class.