TreeNode.ContextMenu Eigenschaft

Definition

Ruft das diesem Strukturknoten zugeordnete Kontextmenü ab.Gets the shortcut menu that is associated with this tree node.

public:
 virtual property System::Windows::Forms::ContextMenu ^ ContextMenu { System::Windows::Forms::ContextMenu ^ get(); void set(System::Windows::Forms::ContextMenu ^ value); };
public virtual System.Windows.Forms.ContextMenu ContextMenu { get; set; }
member this.ContextMenu : System.Windows.Forms.ContextMenu with get, set
Public Overridable Property ContextMenu As ContextMenu

Eigenschaftswert

Das dem Strukturknoten zugeordnete ContextMenu.The ContextMenu that is associated with the tree node.

Hinweise

Die bevorzugte Methode zum Zuordnen eines Kontextmenüs zu einem Struktur Knoten ist die ContextMenuStrip -Eigenschaft.The preferred way to associate a shortcut menu with a tree node is with the ContextMenuStrip property.

Gilt für: