C# Class ComponentFactory.Krypton.Toolkit.PaletteDataGridViewContentCommon

Implement storage for data grid view palette content details.
Inheritance: PaletteDataGridViewContentStates
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetContentPadding ( PaletteState state ) : Padding

Gets the actual padding between the border and content drawing.

GetContentShortTextFont ( PaletteState state ) : Font

Gets the actual content short text font value.

GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content short text horizontal alignment value.

GetContentShortTextV ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content short text vertical alignment value.

PaletteDataGridViewContentCommon ( IPaletteContent inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDataGridViewContentCommon class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

ResetPadding ( ) : void

Reset the Padding to the default value.

Method Details

GetContentPadding() public méthode

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

GetContentShortTextFont() public méthode

Gets the actual content short text font value.
public GetContentShortTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentShortTextH() public méthode

Gets the actual content short text horizontal alignment value.
public GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentShortTextV() public méthode

Gets the actual content short text vertical alignment value.
public GetContentShortTextV ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

PaletteDataGridViewContentCommon() public méthode

Initialize a new instance of the PaletteDataGridViewContentCommon class.
public PaletteDataGridViewContentCommon ( IPaletteContent inherit, NeedPaintHandler needPaint ) : System
inherit IPaletteContent Source for inheriting defaulted values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System

PopulateFromBase() public méthode

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
Résultat void

ResetPadding() public méthode

Reset the Padding to the default value.
public ResetPadding ( ) : void
Résultat void