C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutSeparator

Positions a separator to take up space without drawing.
Inheritance: ViewLeaf
Show file 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.

ViewLayoutSeparator ( int length ) : System

Initialize a new instance of the ViewLayoutRibbonSeparator class.

ViewLayoutSeparator ( int width, int height ) : System

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

ViewLayoutSeparator() public method

Initialize a new instance of the ViewLayoutRibbonSeparator class.
public ViewLayoutSeparator ( int length ) : System
length int Length of the separator.
return System

ViewLayoutSeparator() public method

Initialize a new instance of the ViewLayoutRibbonSeparator class.
public ViewLayoutSeparator ( int width, int height ) : System
width int Width of the separator.
height int Height of the separator.
return System