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

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

Private Properties

Свойство Тип Описание

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

Метод Описание
GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool

Gets a boolean metric value.

GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int

Gets an integer metric value.

GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding

Gets a padding metric value.

PaletteSeparatorPaddingRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteSeparatorPaddingRedirect class.

ResetPadding ( ) : void

Reset the Padding to the default value.

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

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

Gets a boolean metric value.
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricBool Requested metric.
Результат InheritBool

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

Gets an integer metric value.
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricInt Requested metric.
Результат int

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

Gets a padding metric value.
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricPadding Requested metric.
Результат Padding

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

Initialize a new instance of the PaletteSeparatorPaddingRedirect class.
public PaletteSeparatorPaddingRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
backStyle PaletteBackStyle Initial background style.
borderStyle PaletteBorderStyle Initial border style.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System

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

Reset the Padding to the default value.
public ResetPadding ( ) : void
Результат void