C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMenuItemContent

Inheritance: ViewDrawContent, IContextMenuItemColumn
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuItemContent ( IPaletteContent palette, IContentValues values, int columnIndex ) : System

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

ToString() public method

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

ViewDrawMenuItemContent() public method

Initialize a new instance of the ViewDrawMenuItemContent class.
public ViewDrawMenuItemContent ( IPaletteContent palette, IContentValues values, int columnIndex ) : System
palette IPaletteContent Source of palette display values.
values IContentValues Source of content values.
columnIndex int Menu item column index.
return System