C# Class ComponentFactory.Krypton.Toolkit.VisualContextMenuDTP

Specialized version of the visual context menu that knows about the KryptonDateTimePicker drop down button.
Inheritance: VisualContextMenu
Exibir arquivo Open project: ComponentFactory/Krypton

Public Methods

Method Description
DoesMouseDownGetEaten ( Message m, Point pt ) : bool

Should the mouse down be eaten when the tracking has been ended.

VisualContextMenuDTP ( KryptonContextMenu contextMenu, IPalette palette, PaletteMode paletteMode, PaletteRedirect redirector, PaletteRedirectContextMenu redirectorImages, KryptonContextMenuCollection items, bool enabled, bool keyboardActivated, Rectangle dropScreenRect ) : System

Initialize a new instance of the VisualContextMenuDTP class.

Method Details

DoesMouseDownGetEaten() public method

Should the mouse down be eaten when the tracking has been ended.
public DoesMouseDownGetEaten ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Screen coordinates point.
return bool

VisualContextMenuDTP() public method

Initialize a new instance of the VisualContextMenuDTP class.
public VisualContextMenuDTP ( KryptonContextMenu contextMenu, IPalette palette, PaletteMode paletteMode, PaletteRedirect redirector, PaletteRedirectContextMenu redirectorImages, KryptonContextMenuCollection items, bool enabled, bool keyboardActivated, Rectangle dropScreenRect ) : System
contextMenu KryptonContextMenu Originating context menu instance.
palette IPalette Local palette setting to use initially.
paletteMode PaletteMode Palette mode setting to use initially.
redirector PaletteRedirect Redirector used for obtaining palette values.
redirectorImages PaletteRedirectContextMenu Redirector used for obtaining images.
items KryptonContextMenuCollection Collection of context menu items to be displayed.
enabled bool Enabled state of the context menu.
keyboardActivated bool Was the context menu activate by a keyboard action.
dropScreenRect System.Drawing.Rectangle Screen rectangle of the drop down button.
return System