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

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

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.

PaletteHeaderRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteHeaderRedirect class.

ResetButtonEdgeInset ( ) : void

Reset the ButtonEdgeInset to the default value.

ResetButtonPadding ( ) : void

Reset the ButtonPadding to the default value.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

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

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

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

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

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

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

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

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

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

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
Результат void