DocumentDesigner.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.
Called when the context menu should be displayed.
protected:
override void OnContextMenu(int x, int y);
protected override void OnContextMenu (int x, int y);
override this.OnContextMenu : int * int -> unit
Protected Overrides Sub OnContextMenu (x As Integer, y As Integer)
Parameters
- x
- Int32
The horizontal screen coordinate to display the context menu at.
- y
- Int32
The vertical screen coordinate to display the context menu at.
Remarks
This method displays the context menu of the document designer.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.