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

Implement storage for palette border, background and content.
Наследование: Storage, IPaletteTriple
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ShouldSerializeBack bool
ShouldSerializeBorder bool
ShouldSerializeContent bool

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

Метод Описание
PaletteTriple ( IPaletteTriple inherit ) : System

Initialize a new instance of the PaletteTriple class.

PaletteTriple ( IPaletteTriple inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTriple class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteTriple inherit ) : void

Sets the inheritence parent.

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

Метод Описание
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

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

Метод Описание
ShouldSerializeBack ( ) : bool
ShouldSerializeBorder ( ) : bool
ShouldSerializeContent ( ) : bool

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

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

Handle a change event from palette source.
protected OnNeedPaint ( object sender, bool needLayout ) : void
sender object Source of the event.
needLayout bool True if a layout is also needed.
Результат void

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

Initialize a new instance of the PaletteTriple class.
public PaletteTriple ( IPaletteTriple inherit ) : System
inherit IPaletteTriple Source for inheriting values.
Результат System

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

Initialize a new instance of the PaletteTriple class.
public PaletteTriple ( IPaletteTriple inherit, NeedPaintHandler needPaint ) : System
inherit IPaletteTriple 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 ( IPaletteTriple inherit ) : void
inherit IPaletteTriple
Результат void