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

Draws the text string for a group label.
Наследование: ComponentFactory.Krypton.Toolkit.ViewLeaf, IContentValues
Показать файл Открыть проект Примеры использования класса

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

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

Gets the image used for the ribbon tab.

GetImageTransparentColor ( PaletteState state ) : Color

Gets the image color that should be interpreted as transparent.

GetLongText ( ) : string

Gets the long text used as the secondary ribbon title.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

GetShortText ( ) : string

Gets the short text used as the main ribbon title.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

MakeDirty ( ) : void

Make dirty so cached values are not used.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonGroupLabelText ( KryptonRibbon ribbon, KryptonRibbonGroupLabel ribbonLabel, bool firstText ) : System

Initialize a new instance of the ViewDrawRibbonGroupLabelText class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

Gets the image used for the ribbon tab.
public GetImage ( PaletteState state ) : Image
state PaletteState Tab state.
Результат Image

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

Gets the image color that should be interpreted as transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState Tab state.
Результат Color

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

Gets the long text used as the secondary ribbon title.
public GetLongText ( ) : string
Результат string

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

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Результат System.Drawing.Size

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

Gets the short text used as the main ribbon title.
public GetShortText ( ) : string
Результат string

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

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Результат void

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

Make dirty so cached values are not used.
public MakeDirty ( ) : void
Результат void

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

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
Результат void

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

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

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

Initialize a new instance of the ViewDrawRibbonGroupLabelText class.
public ViewDrawRibbonGroupLabelText ( KryptonRibbon ribbon, KryptonRibbonGroupLabel ribbonLabel, bool firstText ) : System
ribbon KryptonRibbon Source ribbon control.
ribbonLabel KryptonRibbonGroupLabel Group label to display title for.
firstText bool Should show the first button text.
Результат System