C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectContextMenu

Redirects requests for context menu images from the ContextMenuImages instance.
Inheritance: PaletteRedirect
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetContextMenuCheckedImage ( ) : Image

Gets a checked image appropriate for a context menu item.

GetContextMenuIndeterminateImage ( ) : Image

Gets a indeterminate image appropriate for a context menu item.

GetContextMenuSubMenuImage ( ) : Image

Gets an image indicating a sub-menu on a context menu item.

PaletteRedirectContextMenu ( IPalette target, ContextMenuImages images ) : System

Initialize a new instance of the PaletteRedirectContextMenu class.

Method Details

GetContextMenuCheckedImage() public method

Gets a checked image appropriate for a context menu item.
public GetContextMenuCheckedImage ( ) : Image
return Image

GetContextMenuIndeterminateImage() public method

Gets a indeterminate image appropriate for a context menu item.
public GetContextMenuIndeterminateImage ( ) : Image
return Image

GetContextMenuSubMenuImage() public method

Gets an image indicating a sub-menu on a context menu item.
public GetContextMenuSubMenuImage ( ) : Image
return Image

PaletteRedirectContextMenu() public method

Initialize a new instance of the PaletteRedirectContextMenu class.
public PaletteRedirectContextMenu ( IPalette target, ContextMenuImages images ) : System
target IPalette Initial palette target for redirection.
images ContextMenuImages Reference to source of context menu images.
return System