ToolStripItem.OwnerItem Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the parent ToolStripItem of this ToolStripItem.
public:
property System::Windows::Forms::ToolStripItem ^ OwnerItem { System::Windows::Forms::ToolStripItem ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ToolStripItem OwnerItem { get; }
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ToolStripItem? OwnerItem { get; }
[<System.ComponentModel.Browsable(false)>]
member this.OwnerItem : System.Windows.Forms.ToolStripItem
Public ReadOnly Property OwnerItem As ToolStripItem
Property Value
The parent ToolStripItem of this ToolStripItem.
- Attributes
Remarks
For example, the OwnerItem of an OpenToolStripMenuItem would typically be a FileToolStripMenuItem.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.