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

Inherit properties from primary source in preference to the backup source.
Наследование: PaletteBorderInherit
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetBorderColor1 ( PaletteState state ) : Color

Gets the first border color.

GetBorderColor2 ( PaletteState state ) : Color

Gets the second border color.

GetBorderColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style.

GetBorderColorAngle ( PaletteState state ) : float

Gets the color border angle.

GetBorderColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style.

GetBorderDraw ( PaletteState state ) : InheritBool

Gets a value indicating if border should be drawn.

GetBorderDrawBorders ( PaletteState state ) : PaletteDrawBorders

Gets a value indicating which borders to draw.

GetBorderGraphicsHint ( PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint.

GetBorderImage ( PaletteState state ) : Image

Gets a border image.

GetBorderImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style.

GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the border image style.

GetBorderRounding ( PaletteState state ) : int

Gets the border rounding.

GetBorderWidth ( PaletteState state ) : int

Gets the border width.

PaletteBorderInheritOverride ( IPaletteBorder primary, IPaletteBorder backup ) : System

Initialize a new instance of the PaletteBorderInheritOverride class.

SetPalettes ( IPaletteBorder primary, IPaletteBorder backup ) : void

Update the the primary and backup palettes.

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

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

Gets the first border color.
public GetBorderColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Gets the second border color.
public GetBorderColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Gets the color alignment style.
public GetBorderColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

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

Gets the color border angle.
public GetBorderColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
Результат float

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

Gets the color drawing style.
public GetBorderColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
Результат PaletteColorStyle

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

Gets a value indicating if border should be drawn.
public GetBorderDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
Результат InheritBool

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

Gets a value indicating which borders to draw.
public GetBorderDrawBorders ( PaletteState state ) : PaletteDrawBorders
state PaletteState Palette value should be applicable to this state.
Результат PaletteDrawBorders

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

Gets the graphics drawing hint.
public GetBorderGraphicsHint ( PaletteState state ) : PaletteGraphicsHint
state PaletteState Palette value should be applicable to this state.
Результат PaletteGraphicsHint

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

Gets a border image.
public GetBorderImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
Результат Image

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

Gets the image alignment style.
public GetBorderImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

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

Gets the border image style.
public GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
Результат PaletteImageStyle

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

Gets the border rounding.
public GetBorderRounding ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
Результат int

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

Gets the border width.
public GetBorderWidth ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
Результат int

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

Initialize a new instance of the PaletteBorderInheritOverride class.
public PaletteBorderInheritOverride ( IPaletteBorder primary, IPaletteBorder backup ) : System
primary IPaletteBorder First choice inheritence.
backup IPaletteBorder Backup inheritence.
Результат System

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

Update the the primary and backup palettes.
public SetPalettes ( IPaletteBorder primary, IPaletteBorder backup ) : void
primary IPaletteBorder New primary palette.
backup IPaletteBorder New backup palette.
Результат void