TreeNode.ContextMenuStrip TreeNode.ContextMenuStrip TreeNode.ContextMenuStrip TreeNode.ContextMenuStrip Property

定義

取得或設定與這個樹狀節點關聯的捷徑功能表。Gets or sets the shortcut menu associated with this tree node.

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

屬性值

與樹狀節點關聯的 ContextMenuStripThe ContextMenuStrip associated with the tree node.

備註

當使用者以滑鼠右鍵按一下樹狀節點時,就會顯示快捷方式功能表。The shortcut menu is shown when the user right-clicks the tree node.

適用於