aspnet-devexpress-dot-web-dot-webcolumnbase-2a4c9def.md
Gets or sets the unique programmatic identifier name for a column.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("")]
public string Name { get; set; }
<DefaultValue("")>
Public Property Name As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string value that specifies the column’s identifier.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Name property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
aspxgridview-dataitemtemplate-runtime/CS/HyperlinkColumn/Default.aspx.cs#L47
colItemTemplate.DataItemTemplate = new MyHyperlinkTemplate(); // Create a template
colItemTemplate.Name = "colItemTemplate";
colItemTemplate.Caption = "Template Column";
aspxgridview-dataitemtemplate-runtime/VB/HyperlinkColumn/Default.aspx.vb#L42
colItemTemplate.DataItemTemplate = New MyHyperlinkTemplate() ' Create a template
colItemTemplate.Name = "colItemTemplate"
colItemTemplate.Caption = "Template Column"
See Also
js-ASPxClientGridViewColumn.name