C# Class ComponentFactory.Krypton.Toolkit.ViewDrawPanel

View element that can draw a panel (background but no border)
Inheritance: ViewComposite
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
EvalTransparentPaint ( ViewContext context ) : bool

Evaluate the need for drawing transparent areas.

GetPalette ( ) : IPaletteBack

Gets the palette used for drawing the panel.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

SetPalettes ( IPaletteBack paletteBack ) : void

Update the source palettes for drawing.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawPanel ( ) : System

Initialize a new instance of the ViewDrawPanel class.

ViewDrawPanel ( IPaletteBack paletteBack ) : System

Initialize a new instance of the ViewDrawPanel class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

EvalTransparentPaint() public méthode

Evaluate the need for drawing transparent areas.
public EvalTransparentPaint ( ViewContext context ) : bool
context ViewContext Evaluation context.
Résultat bool

GetPalette() public méthode

Gets the palette used for drawing the panel.
public GetPalette ( ) : IPaletteBack
Résultat IPaletteBack

Layout() public méthode

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

RenderBefore() public méthode

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

SetPalettes() public méthode

Update the source palettes for drawing.
public SetPalettes ( IPaletteBack paletteBack ) : void
paletteBack IPaletteBack Palette source for the background.
Résultat void

ToString() public méthode

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

ViewDrawPanel() public méthode

Initialize a new instance of the ViewDrawPanel class.
public ViewDrawPanel ( ) : System
Résultat System

ViewDrawPanel() public méthode

Initialize a new instance of the ViewDrawPanel class.
public ViewDrawPanel ( IPaletteBack paletteBack ) : System
paletteBack IPaletteBack Palette source for the background.
Résultat System