C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonContextTitle

Draws a context title.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLeaf, IPaletteRibbonBack, IContentValues
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
CheckForContextColor Color
RenderOnComposition void

Méthodes publiques

Méthode Description
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.

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.

GetShortText ( ) : string

Gets the short text used as the main ribbon title.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonContextTitle ( KryptonRibbon ribbon, IPaletteRibbonBack inherit ) : System

Initialize a new instance of the ViewDrawRibbonContextTitle class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
CheckForContextColor ( PaletteState state ) : Color
RenderOnComposition ( RenderContext context ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetImage() public méthode

Gets the image used for the ribbon tab.
public GetImage ( PaletteState state ) : Image
state PaletteState Tab state.
Résultat Image

GetImageTransparentColor() public méthode

Gets the image color that should be interpreted as transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState Tab state.
Résultat Color

GetLongText() public méthode

Gets the long text used as the secondary ribbon title.
public GetLongText ( ) : string
Résultat string

GetPreferredSize() public méthode

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Résultat System.Drawing.Size

GetRibbonBackColor1() public méthode

Gets the first background color for the ribbon item.
public GetRibbonBackColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor2() public méthode

Gets the second background color for the ribbon item.
public GetRibbonBackColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor3() public méthode

Gets the third background color for the ribbon item.
public GetRibbonBackColor3 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor4() public méthode

Gets the fourth background color for the ribbon item.
public GetRibbonBackColor4 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor5() public méthode

Gets the fifth background color for the ribbon item.
public GetRibbonBackColor5 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColorStyle() public méthode

Gets the background drawing style for the ribbon item.
public GetRibbonBackColorStyle ( PaletteState state ) : PaletteRibbonColorStyle
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRibbonColorStyle

GetShortText() public méthode

Gets the short text used as the main ribbon title.
public GetShortText ( ) : string
Résultat string

Layout() public méthode

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Résultat void

RenderBefore() public méthode

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
Résultat void

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewDrawRibbonContextTitle() public méthode

Initialize a new instance of the ViewDrawRibbonContextTitle class.
public ViewDrawRibbonContextTitle ( KryptonRibbon ribbon, IPaletteRibbonBack inherit ) : System
ribbon KryptonRibbon Source ribbon control.
inherit IPaletteRibbonBack Source for inheriting the ribbon bacgkground colors.
Résultat System