C# Class ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonSeparator

Positions a separator to take up space without drawing.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLeaf
Show file Open project: Cocotteseb/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.

ViewLayoutRibbonSeparator ( int length, bool ignoreMouse ) : System

Initialize a new instance of the ViewLayoutRibbonSeparator class.

ViewLayoutRibbonSeparator ( int width, int height, bool ignoreMouse ) : 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 ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
return System.Drawing.Size

Layout() public method

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

ToString() public method

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

ViewLayoutRibbonSeparator() public method

Initialize a new instance of the ViewLayoutRibbonSeparator class.
public ViewLayoutRibbonSeparator ( int length, bool ignoreMouse ) : System
length int Length of the separator.
ignoreMouse bool Should mouse messages be ignored.
return System

ViewLayoutRibbonSeparator() public method

Initialize a new instance of the ViewLayoutRibbonSeparator class.
public ViewLayoutRibbonSeparator ( int width, int height, bool ignoreMouse ) : System
width int Width of the separator.
height int Height of the separator.
ignoreMouse bool Should mouse messages be ignored.
return System