C# Класс ComponentFactory.Krypton.Toolkit.ViewDrawTrackBar

Draw and operate a track bar.
Наследование: ViewDrawPanel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
OnMouseWheel ( MouseEventArgs e ) : void

Processes the MouseWheel event.

PerformNeedPaint ( bool needLayout ) : void

Raises a need paint event.

SetFixedState ( PaletteState state ) : void

Fix the control to a particular palette state.

SetRange ( int minValue, int maxValue ) : void

Sets the minimum and maximum values for a TrackBar.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawTrackBar ( PaletteTrackBarStatesOverride stateNormal, PaletteTrackBarStates stateDisabled, PaletteTrackBarPositionStatesOverride stateTracking, PaletteTrackBarPositionStatesOverride statePressed, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawTrackBar class.

Защищенные методы

Метод Описание
OnScroll ( EventArgs e ) : void

Raises the Scroll event.

OnValueChanged ( EventArgs e ) : void

Raises the ValueChanged event.

Описание методов

OnMouseWheel() публичный Метод

Processes the MouseWheel event.
public OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs Event arguments for the event.
Результат void

OnScroll() защищенный Метод

Raises the Scroll event.
protected OnScroll ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnValueChanged() защищенный Метод

Raises the ValueChanged event.
protected OnValueChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

PerformNeedPaint() публичный Метод

Raises a need paint event.
public PerformNeedPaint ( bool needLayout ) : void
needLayout bool Does the layout need recalculating.
Результат void

SetFixedState() публичный Метод

Fix the control to a particular palette state.
public SetFixedState ( PaletteState state ) : void
state PaletteState Palette state to fix.
Результат void

SetRange() публичный Метод

Sets the minimum and maximum values for a TrackBar.
public SetRange ( int minValue, int maxValue ) : void
minValue int The lower limit of the range of the track bar.
maxValue int The upper limit of the range of the track bar.
Результат void

ToString() публичный Метод

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

ViewDrawTrackBar() публичный Метод

Initialize a new instance of the ViewDrawTrackBar class.
public ViewDrawTrackBar ( PaletteTrackBarStatesOverride stateNormal, PaletteTrackBarStates stateDisabled, PaletteTrackBarPositionStatesOverride stateTracking, PaletteTrackBarPositionStatesOverride statePressed, NeedPaintHandler needPaint ) : System
stateNormal PaletteTrackBarStatesOverride Referenece to normal state values.
stateDisabled PaletteTrackBarStates Referenece to disabled state values.
stateTracking PaletteTrackBarPositionStatesOverride Referenece to tracking state values.
statePressed PaletteTrackBarPositionStatesOverride Referenece to pressed state values.
needPaint NeedPaintHandler Delegate used to request repainting.
Результат System