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

Implement storage for a track bar state.
Наследование: Storage
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ShouldSerializePosition bool
ShouldSerializeTick bool
ShouldSerializeTrack bool

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

Метод Описание
PaletteTrackBarStates ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTrackBarStates class.

PaletteTrackBarStates ( PaletteTrackBarRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTrackBarStates class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition ) : void

Sets the inheritence parent.

Приватные методы

Метод Описание
ShouldSerializePosition ( ) : bool
ShouldSerializeTick ( ) : bool
ShouldSerializeTrack ( ) : bool

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

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

Initialize a new instance of the PaletteTrackBarStates class.
public PaletteTrackBarStates ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition, NeedPaintHandler needPaint ) : System
inheritTick IPaletteElementColor Source for inheriting tick values.
inheritTrack IPaletteElementColor Source for inheriting track values.
inheritPosition IPaletteElementColor Source for inheriting position values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System

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

Initialize a new instance of the PaletteTrackBarStates class.
public PaletteTrackBarStates ( PaletteTrackBarRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteTrackBarRedirect Source for inheriting values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System

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

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
Результат void

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

Sets the inheritence parent.
public SetInherit ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition ) : void
inheritTick IPaletteElementColor Source for inheriting tick values.
inheritTrack IPaletteElementColor Source for inheriting track values.
inheritPosition IPaletteElementColor Source for inheriting position values.
Результат void