ToolStripDropDown::OwnerItem Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the ToolStripItem that is the owner of this ToolStripDropDown.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BrowsableAttribute(false)]
property ToolStripItem^ OwnerItem {
	ToolStripItem^ get();
	void set(ToolStripItem^ value);
}

Property Value

Type: System.Windows.Forms::ToolStripItem^

The ToolStripItem that is the owner of this ToolStripDropDown. The default value is null.

The following code example demonstrates how to use this property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: