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

String

The name of the DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.

Exceptions

.NET 5.0 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