共用方式為


TreeNode.ContextMenuStrip 屬性

定義

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

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

屬性值

ContextMenuStrip

與樹狀節點關聯的 ContextMenuStrip

備註

當使用者以滑鼠右鍵按一下樹狀節點時,會顯示快捷方式功能表。

適用於