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

Storage for ribbon background and text values.
Наследование: Storage, IPaletteRibbonBack, IPaletteRibbonText
Показать файл Открыть проект

Private Properties

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

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

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

Gets the first background color for the ribbon item.

GetRibbonBackColor2 ( PaletteState state ) : Color

Gets the second background color for the ribbon item.

GetRibbonBackColor3 ( PaletteState state ) : Color

Gets the third background color for the ribbon item.

GetRibbonBackColor4 ( PaletteState state ) : Color

Gets the fourth background color for the ribbon item.

GetRibbonBackColor5 ( PaletteState state ) : Color

Gets the fifth background color for the ribbon item.

GetRibbonBackColorStyle ( PaletteState state ) : PaletteRibbonColorStyle

Gets the background drawing style for the ribbon item.

GetRibbonTextColor ( PaletteState state ) : Color

Gets the tab color for the item text.

PaletteRibbonDoubleRedirect ( PaletteRedirect redirect, PaletteRibbonBackStyle backStyle, PaletteRibbonTextStyle textStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteRibbonDoubleRedirect class.

ResetBackColor1 ( ) : void

Reset the BackColor1 to the default value.

ResetBackColor2 ( ) : void

Reset the BackColor2 to the default value.

ResetBackColor3 ( ) : void

Reset the BackColor3 to the default value.

ResetBackColor4 ( ) : void

Reset the BackColor4 to the default value.

ResetBackColor5 ( ) : void

Reset the BackColor5 to the default value.

ResetTextColor ( ) : void

Reset the TextColor to the default value.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Gets the tab color for the item text.
public GetRibbonTextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

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

Initialize a new instance of the PaletteRibbonDoubleRedirect class.
public PaletteRibbonDoubleRedirect ( PaletteRedirect redirect, PaletteRibbonBackStyle backStyle, PaletteRibbonTextStyle textStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
backStyle PaletteRibbonBackStyle Inheritence ribbon back style.
textStyle PaletteRibbonTextStyle Inheritence ribbon text style.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System

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

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

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

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

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

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

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

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

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

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

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

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

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

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