C# Class ComponentFactory.Krypton.Toolkit.ViewDrawBorderEdge

View element that can draw a border edge by applying a size to a panel.
Inheritance: ViewDrawPanel
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

SetPalettes ( PaletteBorderEdge palette ) : void

Update the source palette for drawing.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawBorderEdge ( PaletteBorderEdge palette, Orientation orientation ) : System

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

SetPalettes() public method

Update the source palette for drawing.
public SetPalettes ( PaletteBorderEdge palette ) : void
palette PaletteBorderEdge Palette source for drawing details.
return void

ToString() public method

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

ViewDrawBorderEdge() public method

Initialize a new instance of the ViewDrawBorderEdge class.
public ViewDrawBorderEdge ( PaletteBorderEdge palette, Orientation orientation ) : System
palette PaletteBorderEdge Palette source for drawing details.
orientation Orientation Initial orientation of the border.
return System