ToolStripItem.OwnerItem ToolStripItem.OwnerItem ToolStripItem.OwnerItem ToolStripItem.OwnerItem Property

定义

获取此 ToolStripItem 的父级 ToolStripItemGets 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; }
member this.OwnerItem : System.Windows.Forms.ToolStripItem
Public ReadOnly Property OwnerItem As ToolStripItem

属性值

注解

例如, OwnerItem 打开ToolStripMenuItem的通常是一个文件ToolStripMenuItemFor example, the OwnerItem of an OpenToolStripMenuItem would typically be a FileToolStripMenuItem.

适用于