ToolStripItem::IsOnDropDown Property
.NET Framework (current version)
Gets a value indicating whether the container of the current Control is a ToolStripDropDown.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Booleantrue 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: