Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | void |
public DoesStackedClientMouseDownBecomeCurrent ( |
||
m | Original message. | |
pt | Point | Client coordinates point. |
Результат | bool |
protected OnKeyDown ( |
||
e | A KeyEventArgs that contains the event data. | |
Результат | void |
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void | ||
levent | System.Windows.Forms.LayoutEventArgs | An EventArgs that contains the event data. |
Результат | void |
protected OnPaletteNeedPaint ( object sender, |
||
sender | object | Source of notification. |
e | An NeedLayoutEventArgs containing event data. | |
Результат | void |
public Show ( Point screenPt ) : void | ||
screenPt | Point | Screen location. |
Результат | void |
public Show ( |
||
screenRect | Screen rectangle. | |
Результат | void |
public Show ( |
||
screenRect | Screen rectangle. | |
horz | KryptonContextMenuPositionH | Horizontal location relative to screen rectangle. |
vert | KryptonContextMenuPositionV | Vertical location relative to screen rectangle. |
Результат | 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. |
Результат | void |
public ShowFixed ( |
||
screenRect | Screen rectangle. | |
horz | KryptonContextMenuPositionH | Horizontal location relative to screen rectangle. |
vert | KryptonContextMenuPositionV | Vertical location relative to screen rectangle. |
Результат | 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. |
Результат | 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. |
Результат | System |