ToolStripItem.CanSelect Property


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

Gets a value indicating whether the item can be selected.

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

public virtual bool CanSelect { get; }

Property Value

Type: System.Boolean

true if the ToolStripItem can be selected; otherwise, false.

.NET Framework
Available since 2.0
Return to top