C# Class ComponentFactory.Krypton.Toolkit.ViewDrawPanel

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

Public Methods

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

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

EvalTransparentPaint() public method

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

GetPalette() public method

Gets the palette used for drawing the panel.
public GetPalette ( ) : IPaletteBack
return IPaletteBack

Layout() public method

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

RenderBefore() public method

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

SetPalettes() public method

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

ToString() public method

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

ViewDrawPanel() public method

Initialize a new instance of the ViewDrawPanel class.
public ViewDrawPanel ( ) : System
return System

ViewDrawPanel() public method

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