Method | Description | |
---|---|---|
DoesStackedClientMouseDownBecomeCurrent ( |
Should a mouse down at the provided point cause it to become the current tracking popup.
|
|
Show ( ) : void |
Show the context menu relative to the current mouse location.
|
|
Show ( Point screenPt ) : void |
Show the context menu relative to the provided screen point.
|
|
Show ( |
Show the context menu relative to the provided screen rectangle.
|
|
Show ( |
Show the context menu relative to the provided screen rectangle.
|
|
Show ( |
Show the context menu relative to the provided screen rectangle.
|
|
ShowFixed ( |
Show the context menu at the fixed screen rectangle.
|
|
VisualContextMenu ( IContextMenuProvider provider, KryptonContextMenuCollection items, bool keyboardActivated ) : System |
Initialize a new instance of the VisualContextMenu class.
|
|
VisualContextMenu ( |
Initialize a new instance of the VisualContextMenu class.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnKeyDown ( |
Raises the KeyDown event.
|
|
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void |
Raises the Layout event.
|
|
OnPaletteNeedPaint ( object sender, |
Processes a notification from palette of a paint and optional layout required.
|
Method | Description | |
---|---|---|
CalculatePreferredSize ( ) : |
||
Construct ( KryptonContextMenuCollection items, bool keyboardActivated ) : void | ||
OnBaseChanged ( object sender, |
||
OnProviderClose ( object sender, |
||
OnProviderClose ( object sender, |
||
OnProviderClosing ( object sender, CancelEventArgs e ) : void | ||
SetPalette ( IPalette palette ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public DoesStackedClientMouseDownBecomeCurrent ( |
||
m | Original message. | |
pt | Point | Client coordinates point. |
return | bool |
protected OnKeyDown ( |
||
e | A KeyEventArgs that contains the event data. | |
return | void |
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void | ||
levent | System.Windows.Forms.LayoutEventArgs | An EventArgs that contains the event data. |
return | void |
protected OnPaletteNeedPaint ( object sender, |
||
sender | object | Source of notification. |
e | An NeedLayoutEventArgs containing event data. | |
return | void |
public Show ( Point screenPt ) : void | ||
screenPt | Point | Screen location. |
return | void |
public Show ( |
||
screenRect | Screen rectangle. | |
return | void |
public Show ( |
||
screenRect | Screen rectangle. | |
horz | KryptonContextMenuPositionH | Horizontal location relative to screen rectangle. |
vert | KryptonContextMenuPositionV | Vertical location relative to screen rectangle. |
return | void |
public Show ( |
||
screenRect | Screen rectangle. | |
horz | KryptonContextMenuPositionH | Horizontal location relative to screen rectangle. |
vert | KryptonContextMenuPositionV | Vertical location relative to screen rectangle. |
bounce | bool | Should the menu bounce around the monitor. |
constrain | bool | Should size and position of menu be constrained by display size. |
return | void |
public ShowFixed ( |
||
screenRect | Screen rectangle. | |
horz | KryptonContextMenuPositionH | Horizontal location relative to screen rectangle. |
vert | KryptonContextMenuPositionV | Vertical location relative to screen rectangle. |
return | void |
public VisualContextMenu ( IContextMenuProvider provider, KryptonContextMenuCollection items, bool keyboardActivated ) : System | ||
provider | IContextMenuProvider | Original source of provider details |
items | KryptonContextMenuCollection | Enabled state of the context menu. |
keyboardActivated | bool | Was the context menu activate by a keyboard action. |
return | System |
public VisualContextMenu ( |
||
contextMenu | Originating context menu instance. | |
palette | IPalette | Local palette setting to use initially. |
paletteMode | PaletteMode | Palette mode setting to use initially. |
redirector | Redirector used for obtaining palette values. | |
redirectorImages | 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. |
return | System |