ControlDesigner.OnContextMenu(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.
protected:
virtual void OnContextMenu(int x, int y);
protected virtual void OnContextMenu (int x, int y);
abstract member OnContextMenu : int * int -> unit
override this.OnContextMenu : int * int -> unit
Protected Overridable Sub OnContextMenu (x As Integer, y As Integer)
Parameters
- x
- Int32
The x coordinate at which to display the context menu.
- y
- Int32
The y coordinate at which to display the context menu.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.