C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutNull

View element that draws nothing and just takes up the provided size.
Inheritance: ViewLeaf
ファイルを表示 Open project: ComponentFactory/Krypton

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.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutNull ( ) : System

Initialize a new instance of the ViewLayoutNull 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

ToString() public method

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

ViewLayoutNull() public method

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