ToolStripItem::IsOnDropDown Property

 

Gets a value indicating whether the container of the current Control is a ToolStripDropDown.

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

public:
[BrowsableAttribute(false)]
property bool IsOnDropDown {
	bool get();
}

Property Value

Type: System::Boolean

true if the container of the current Control is a ToolStripDropDown; otherwise, false.

The following code example demonstrates how to use the IsOnDropDown property. This code example is part of a larger example provided for the ToolStripItem class.

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

.NET Framework
Available since 2.0
Return to top
Show: