DataGridViewHeaderCell::Selected Property
.NET Framework (current version)
Gets or sets a value indicating whether the cell is selected.
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; }
| Exception | Condition |
|---|---|
| InvalidOperationException | This property is being set. |
This property is not meaningful for header cells.
.NET Framework
Available since 2.0
Available since 2.0
Show: