C# Class ComponentFactory.Krypton.Ribbon.PaletteCaptionRedirect

Override the redirection to force the borders for the caption to only show the bottom border as a maximum.
Inheritance: ComponentFactory.Krypton.Toolkit.PaletteRedirect
Show file Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders

Gets a value indicating which borders to draw.

PaletteCaptionRedirect ( IPalette target ) : System

Initialize a new instance of the PaletteCaptionRedirect class.

Method Details

GetBorderDrawBorders() public method

Gets a value indicating which borders to draw.
public GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return PaletteDrawBorders

PaletteCaptionRedirect() public method

Initialize a new instance of the PaletteCaptionRedirect class.
public PaletteCaptionRedirect ( IPalette target ) : System
target IPalette Initial palette target for redirection.
return System