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

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

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

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

Gets the first background color for the ribbon item.

GetRibbonBackColor2 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the second background color for the ribbon item.

GetRibbonBackColor3 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the third background color for the ribbon item.

GetRibbonBackColor4 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the fourth background color for the ribbon item.

GetRibbonBackColor5 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the fifth background color for the ribbon item.

GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle

Gets the background drawing style for the ribbon item.

PaletteRedirectRibbonBack ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectRibbonBack class.

PaletteRedirectRibbonBack ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack ) : System

Initialize a new instance of the PaletteRedirectRibbonBack class.

PaletteRedirectRibbonBack ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : System

Initialize a new instance of the PaletteRedirectRibbonBack class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack ) : void

Set the redirection states.

SetRedirectStates ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : void

Set the redirection states.

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

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

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

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

Gets the first background color for the ribbon item.
public GetRibbonBackColor1 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Gets the second background color for the ribbon item.
public GetRibbonBackColor2 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Gets the third background color for the ribbon item.
public GetRibbonBackColor3 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Gets the fourth background color for the ribbon item.
public GetRibbonBackColor4 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Gets the fifth background color for the ribbon item.
public GetRibbonBackColor5 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Gets the background drawing style for the ribbon item.
public GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle
style PaletteRibbonBackStyle Style of the ribbon back style requested.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRibbonColorStyle

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

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

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

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

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

Initialize a new instance of the PaletteRedirectRibbonBack class.
public PaletteRedirectRibbonBack ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : System
target IPalette Initial palette target for redirection.
disabledBack IPaletteRibbonBack Redirection for back disabled state requests.
normalBack IPaletteRibbonBack Redirection for back normal state requests.
pressedBack IPaletteRibbonBack Redirection for back pressed state requests.
trackingBack IPaletteRibbonBack Redirection for back tracking state requests.
selectedBack IPaletteRibbonBack Redirection for selected states requests.
focusOverrideBack IPaletteRibbonBack Redirection for back focus override state requests.
Результат System

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

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

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

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

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

Set the redirection states.
public SetRedirectStates ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : void
disabledBack IPaletteRibbonBack Redirection for back disabled state requests.
normalBack IPaletteRibbonBack Redirection for back normal state requests.
pressedBack IPaletteRibbonBack Redirection for back pressed state requests.
trackingBack IPaletteRibbonBack Redirection for back tracking state requests.
selectedBack IPaletteRibbonBack Redirection for selected states requests.
focusOverrideBack IPaletteRibbonBack Redirection for back focus override state requests.
Результат void