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

Redirect border based on the incoming state of the request.
Наследование: PaletteRedirect
Показать файл Открыть проект

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

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

Gets the first border color.

GetBorderColor2 ( PaletteBorderStyle style, PaletteState state ) : Color

Gets the second border color.

GetBorderColorAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color border alignment.

GetBorderColorAngle ( PaletteBorderStyle style, PaletteState state ) : float

Gets the color border angle.

GetBorderColorStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteColorStyle

Gets the color border drawing style.

GetBorderDraw ( PaletteBorderStyle style, PaletteState state ) : InheritBool

Gets a value indicating if border should be drawn.

GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders

Gets a value indicating which borders to draw.

GetBorderGraphicsHint ( PaletteBorderStyle style, PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint for the border.

GetBorderImage ( PaletteBorderStyle style, PaletteState state ) : Image

Gets a border image.

GetBorderImageAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image border alignment.

GetBorderImageStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteImageStyle

Gets the border image style.

GetBorderRounding ( PaletteBorderStyle style, PaletteState state ) : int

Gets the border corner rounding.

GetBorderWidth ( PaletteBorderStyle style, PaletteState state ) : int

Gets the border width.

PaletteRedirectBorderEdge ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectBorderEdge class.

PaletteRedirectBorderEdge ( IPalette target, PaletteBorderEdge disabled, PaletteBorderEdge normal ) : System

Initialize a new instance of the PaletteRedirectBorderEdge class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( PaletteBorderEdge disabled, PaletteBorderEdge normal ) : void

Set the redirection states.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Initialize a new instance of the PaletteRedirectBorderEdge class.
public PaletteRedirectBorderEdge ( IPalette target ) : System
target IPalette Initial palette target for redirection.
Результат System

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

Initialize a new instance of the PaletteRedirectBorderEdge class.
public PaletteRedirectBorderEdge ( IPalette target, PaletteBorderEdge disabled, PaletteBorderEdge normal ) : System
target IPalette Initial palette target for redirection.
disabled PaletteBorderEdge Redirection for disabled state requests.
normal PaletteBorderEdge Redirection for normal state requests.
Результат System

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

Reset the redirection states to null.
public ResetRedirectStates ( ) : void
Результат void

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

Set the redirection states.
public SetRedirectStates ( PaletteBorderEdge disabled, PaletteBorderEdge normal ) : void
disabled PaletteBorderEdge Redirection for disabled state requests.
normal PaletteBorderEdge Redirection for normal state requests.
Результат void