C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMenuSeparator

Draw element for a context menu separator.
Inheritance: ViewDrawDocker
显示文件 Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
Render ( RenderContext context ) : void

Perform a render of the elements.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuSeparator ( KryptonContextMenuSeparator separator, PaletteDoubleRedirect palette ) : System

Initialize a new instance of the ViewDrawMenuSeparator class.

ViewDrawMenuSeparator ( PaletteDouble state ) : System

Initialize a new instance of the ViewDrawMenuSeparator class.

Method Details

Render() public method

Perform a render of the elements.
public Render ( RenderContext context ) : void
context RenderContext Rendering context.
return void

ToString() public method

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

ViewDrawMenuSeparator() public method

Initialize a new instance of the ViewDrawMenuSeparator class.
public ViewDrawMenuSeparator ( KryptonContextMenuSeparator separator, PaletteDoubleRedirect palette ) : System
separator KryptonContextMenuSeparator Reference to owning separator entry.
palette PaletteDoubleRedirect Palette for obtaining drawing values.
return System

ViewDrawMenuSeparator() public method

Initialize a new instance of the ViewDrawMenuSeparator class.
public ViewDrawMenuSeparator ( PaletteDouble state ) : System
state PaletteDouble State specific source of palette values.
return System