ShowContextMenuCommandArgs Class
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.
public ref class ShowContextMenuCommandArgs sealed : Microsoft::VisualStudio::Text::Editor::Commanding::EditorCommandArgs
public sealed class ShowContextMenuCommandArgs : Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs
type ShowContextMenuCommandArgs = class
inherit EditorCommandArgs
Public NotInheritable Class ShowContextMenuCommandArgs
Inherits EditorCommandArgs
- Inheritance
Constructors
ShowContextMenuCommandArgs(ITextView, ITextBuffer, Double, Double) |
Creates an instance of the ShowContextMenuCommandArgs to execute the command. |
ShowContextMenuCommandArgs(ITextView, ITextBuffer) |
Creates an empty instance of the ShowContextMenuCommandArgs, for the purpose of passing to the GetCommandState(T, Func<CommandState>) to determine the state of the command. |
Properties
SubjectBuffer |
A subject buffer to execute a command on. (Inherited from EditorCommandArgs) |
TextView |
An ITextView to execute a command on. (Inherited from EditorCommandArgs) |
X |
X coordinate for the context menu, optionally provided by the caller of the command. |
Y |
Y coordinate for the context menu, optionally provided by the caller of the command. |