ToolStripItem::Selected Property

 

Gets a value indicating whether the item is selected.

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

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

Property Value

Type: System::Boolean

true if the ToolStripItem is selected; otherwise, false.

The following code example demonstrates how to use the Selected property for custom rendering. 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: