Table of Contents

Class Slider

Namespace
OmegaGUI.Model
Assembly
OmegaGUI.dll

Slider control

public class Slider : Control, ICloneable
Inheritance
object
Slider
Implements
Derived
Inherited Members

Constructors

Slider()

public Slider()

Fields

ControlValue

protected int ControlValue

Field Value

int

Properties

Max

Maximum value for control

public int Max { get; set; }

Property Value

int

Min

Minimum value for control

public int Min { get; set; }

Property Value

int

OnChanged

A Lua script to execute when the control's value has changed

[FileType("Lua")]
public string? OnChanged { get; set; }

Property Value

string

Value

The current value of the control

public virtual int Value { get; set; }

Property Value

int

Methods

Clone()

Creates a deep copy of this instance.

public override Control Clone()

Returns

Control

CloneFromTo(Slider, Slider)

Copies all members declared by Slider from one instance to another.

protected static void CloneFromTo(Slider from, Slider to)

Parameters

from Slider
to Slider

CloneSlider()

Creates a deep copy of this Slider instance.

public Slider CloneSlider()

Returns

Slider

The new copy of the Slider.