C# Class ComponentFactory.Krypton.Ribbon.RibbonRecentDocsTitleToContent

Inheritance: RibbonToContent
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Remove any cached resources.

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.

GetContentPadding ( PaletteState state ) : Padding

Gets the padding between the border and content drawing.

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.

RibbonRecentDocsTitleToContent ( PaletteRibbonGeneral ribbonGeneral, IPaletteRibbonText ribbonRecentTitleText ) : System

Initialize a new instance of the RibbonRecentDocsToContent class.

Method Details

Dispose() public method

Remove any cached resources.
public Dispose ( ) : void
return void

GetContentLongTextColor1() public method

Gets the first back color for the long text.
public GetContentLongTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetContentLongTextColor2() public method

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetContentPadding() public method

Gets the padding between the border and content drawing.
public GetContentPadding ( PaletteState state ) : Padding
state PaletteState Palette value should be applicable to this state.
return Padding

GetContentShortTextColor1() public method

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetContentShortTextColor2() public method

Gets the second back color for the short text.
public GetContentShortTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetContentShortTextFont() public method

Gets the font for the short text.
public GetContentShortTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
return System.Drawing.Font

GetContentShortTextH() public method

Gets the horizontal relative alignment of the short text.
public GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign

RibbonRecentDocsTitleToContent() public method

Initialize a new instance of the RibbonRecentDocsToContent class.
public RibbonRecentDocsTitleToContent ( PaletteRibbonGeneral ribbonGeneral, IPaletteRibbonText ribbonRecentTitleText ) : System
ribbonGeneral ComponentFactory.Krypton.Toolkit.PaletteRibbonGeneral Source for general ribbon settings.
ribbonRecentTitleText IPaletteRibbonText Source for ribbon recent document title settings.
return System