ToolStripItem.Parent 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 的 ToolStripItem父容器。
protected public:
property System::Windows::Forms::ToolStrip ^ Parent { System::Windows::Forms::ToolStrip ^ get(); void set(System::Windows::Forms::ToolStrip ^ value); };
[System.ComponentModel.Browsable(false)]
protected internal System.Windows.Forms.ToolStrip Parent { get; set; }
[System.ComponentModel.Browsable(false)]
protected internal System.Windows.Forms.ToolStrip? Parent { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Parent : System.Windows.Forms.ToolStrip with get, set
Protected Friend Property Parent As ToolStrip
屬性值
A ToolStrip 是 的父容器 ToolStripItem。
- 屬性
備註
GetCurrentParent 是該屬性的 Parent 唯讀存取器。 父節點與擁有者不同,父節點表示物品顯示時的回流 ToolStrip 電流,可能位於溢出區域。
父 ToolStrip 節點會引發繪畫事件等,而擁有者 ToolStrip 則包含像圖片清單這類共享資料。 通常,該 Parent 屬性由版面管理員 ToolStrip在 . 上設定。