Edit

Share via


DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.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 DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.

Exceptions

.NET 6 and later versions only: Owner is null.

Remarks

If the Value property of the owning DataGridViewTopLeftHeaderCell has been set, this property returns Empty. Otherwise, this property returns "Top Left Header Cell" if the RightToLeft property of the DataGridView control is No, and "Top Right Header Cell" otherwise.

Applies to

See also