System.Windows.Forms.DataGridViewColumn.Name Property

Gets or sets the name of the column.

Syntax

[System.ComponentModel.Browsable(false)]
public string Name { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property represents a formal name associated with the column that can be used to identify the column in a collection. For example, the DataGridViewColumnCollection.Remove(DataGridViewColumn) and DataGridViewColumnCollection.Contains(DataGridViewColumn) methods of the System.Windows.Forms.DataGridViewColumnCollection class use the DataGridViewColumn.Name property. The name is case-insensitive. The System.Windows.Forms.DataGridView will treat column1 and COLUMN1 as the same column.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0