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 override bool Selected { get; set; }

Property Value

Type: System.Boolean

false in all cases.

Exception Condition

This property is being set.

This property is not meaningful for header cells.

.NET Framework
Available since 2.0
Return to top