C# Класс ComponentFactory.Krypton.Ribbon.ContextToContent

Наследование: RibbonToContent
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ContextToContent ( PaletteRibbonGeneral ribbonGeneral ) : System

Initialize a new instance of the ContextToContent class.

GetContentLongTextColor1 ( PaletteState state ) : Color

Gets the first back color for the long text.

GetContentLongTextColor2 ( PaletteState state ) : Color

Gets the second back color for the long text.

GetContentLongTextFont ( PaletteState state ) : Font

Gets the font for the long text.

GetContentLongTextHint ( PaletteState state ) : PaletteTextHint

Gets the rendering hint for the long text.

GetContentLongTextTrim ( PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for long text.

GetContentShortTextColor1 ( PaletteState state ) : Color

Gets the first back color for the short text.

GetContentShortTextColor2 ( PaletteState state ) : Color

Gets the second back color for the short text.

GetContentShortTextFont ( PaletteState state ) : Font

Gets the font for the short text.

GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the short text.

GetContentShortTextHint ( PaletteState state ) : PaletteTextHint

Gets the rendering hint for the short text.

GetContentShortTextTrim ( PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for short text.

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

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

Initialize a new instance of the ContextToContent class.
public ContextToContent ( PaletteRibbonGeneral ribbonGeneral ) : System
ribbonGeneral ComponentFactory.Krypton.Toolkit.PaletteRibbonGeneral Source for general ribbon settings.
Результат System

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

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

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

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

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

Gets the font for the long text.
public GetContentLongTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Результат System.Drawing.Font

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

Gets the rendering hint for the long text.
public GetContentLongTextHint ( PaletteState state ) : PaletteTextHint
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextHint

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

Gets the text trimming to use for long text.
public GetContentLongTextTrim ( PaletteState state ) : PaletteTextTrim
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextTrim

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

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

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

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

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

Gets the font for the short text.
public GetContentShortTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Результат System.Drawing.Font

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

Gets the horizontal relative alignment of the short text.
public GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

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

Gets the rendering hint for the short text.
public GetContentShortTextHint ( PaletteState state ) : PaletteTextHint
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextHint

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

Gets the text trimming to use for short text.
public GetContentShortTextTrim ( PaletteState state ) : PaletteTextTrim
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextTrim