Modifier

DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.Name Property

Definition

public:
 virtual property System::String ^ Name { System::String ^ get(); };
public override string Name { get; }
member this.Name : string
Public Overrides ReadOnly Property Name As String

Property Value

The name of the DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.

Exceptions

.NET 5 and later versions: The Owner property is null.

Remarks

The name of the DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject is the same as the HeaderText property of the cell's DataGridViewColumn.

Applies to

See also