ShowContextMenuCommandArgs Sınıf

Tanım

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
Devralma
ShowContextMenuCommandArgs

Oluşturucular

ShowContextMenuCommandArgs(ITextView, ITextBuffer)

ShowContextMenuCommandArgsKomutunun durumunu öğrenmek için öğesine geçiş amacıyla öğesinin boş bir örneğini oluşturur GetCommandState(T, Func<CommandState>) .

ShowContextMenuCommandArgs(ITextView, ITextBuffer, Double, Double)

ShowContextMenuCommandArgsKomutunu yürütmek için bir örneği oluşturur.

Özellikler

SubjectBuffer

Üzerinde bir komut yürütmek için bir konu arabelleği.

(Devralındığı yer: EditorCommandArgs)
TextView

Bir ITextView komutu yürütmek için bir.

(Devralındığı yer: EditorCommandArgs)
X

Bağlam menüsü için, isteğe bağlı olarak komutu çağıran tarafından sağlanmış X koordinatı.

Y

Bağlam menüsü için, isteğe bağlı olarak komutu çağıran tarafından sunulan Y koordinatı.

Şunlara uygulanır