共用方式為


TreeNode.ContextMenu 屬性

定義

取得與這個樹狀節點關聯的捷徑功能表。

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

屬性值

ContextMenu

與樹狀節點關聯的 ContextMenu

備註

將快捷方式功能表與樹狀節點建立關聯的慣用方式是 與 ContextMenuStrip 屬性。

適用於