DataGridViewHeaderCell::Selected Property

 

Gets or sets a value indicating whether the cell is selected.

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

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

Property Value

Type: System::Boolean

false in all cases.

Exception Condition
InvalidOperationException

This property is being set.

This property is not meaningful for header cells.

.NET Framework
Available since 2.0
Return to top
Show: