C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupClusterColorButtonText

Draws the text string for a group color cluster button.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLeaf, IContentValues
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method 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.

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.

ViewDrawRibbonGroupClusterColorButtonText ( KryptonRibbon ribbon, KryptonRibbonGroupClusterColorButton ribbonColorButton ) : System

Initialize a new instance of the ViewDrawRibbonGroupClusterColorButtonText class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Method Details

Dispose() protected method

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

GetImage() public method

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

GetImageTransparentColor() public method

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

GetLongText() public method

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

GetPreferredSize() public method

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

GetShortText() public method

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

Layout() public method

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

MakeDirty() public method

Make dirty so cached values are not used.
public MakeDirty ( ) : void
return void

RenderBefore() public method

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

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDrawRibbonGroupClusterColorButtonText() public method

Initialize a new instance of the ViewDrawRibbonGroupClusterColorButtonText class.
public ViewDrawRibbonGroupClusterColorButtonText ( KryptonRibbon ribbon, KryptonRibbonGroupClusterColorButton ribbonColorButton ) : System
ribbon KryptonRibbon Source ribbon control.
ribbonColorButton KryptonRibbonGroupClusterColorButton Group cluster color button to display title for.
return System