C# Class ComponentFactory.Krypton.Toolkit.ViewDrawCheckBox

Draws a check box using the provided renderer.
Inheritance: ViewLeaf
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawCheckBox ( IPalette palette ) : System

Initialize a new instance of the ViewDrawCheckBox class.

Method Details

GetPreferredSize() public method

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
return System.Drawing.Size

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

ToString() public method

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

ViewDrawCheckBox() public method

Initialize a new instance of the ViewDrawCheckBox class.
public ViewDrawCheckBox ( IPalette palette ) : System
palette IPalette Palette for source of drawing values.
return System