C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMenuColorColumns

Draw element for a context menu color columns.
Inheritance: ViewComposite
Show file Open project: ComponentFactory/Krypton

Public Methods

Method Description
Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuColorColumns ( IContextMenuProvider provider, KryptonContextMenuColorColumns colorColumns ) : System

Initialize a new instance of the ViewDrawMenuColorColumns class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

Private Methods

Method Description
CreateColumns ( IContextMenuProvider provider, KryptonContextMenuColorColumns colorColumns, Color colors, int start, int end, bool enabled ) : ViewLayoutStack
OnSelectedColorChanged ( object sender, ColorEventArgs e ) : void

Method Details

Dispose() protected method

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
return void

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

ViewDrawMenuColorColumns() public method

Initialize a new instance of the ViewDrawMenuColorColumns class.
public ViewDrawMenuColorColumns ( IContextMenuProvider provider, KryptonContextMenuColorColumns colorColumns ) : System
provider IContextMenuProvider Reference to provider.
colorColumns KryptonContextMenuColorColumns Reference to owning color columns entry.
return System