C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutFill

View element that is used to fill a docker area and positions a control to the same size.
Inheritance: ViewLayoutNull
Datei anzeigen 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.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutFill ( ) : System

Initialize a new instance of the ViewLayoutNull class.

ViewLayoutFill ( Control control ) : 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

ViewLayoutFill() public method

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

ViewLayoutFill() public method

Initialize a new instance of the ViewLayoutNull class.
public ViewLayoutFill ( Control control ) : System
control System.Windows.Forms.Control Control to positon in fill location.
return System