wpf-devexpress-dot-xpf-dot-grid-dot-basecolumn-5656b8e3.md
Gets or sets the column name.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public string Name { get; set; }
Public Property Name As String
| Type | Description |
|---|---|
| String |
A string that specifies the column name.
|
The following code snippets (auto-collected from DevExpress Examples) contain references 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.
wpf-dock-layout-manager-save-and-restore-the-dock-layout-managers-layout/CS/MainWindow.xaml#L19
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="X" Name="columnX"/>
<dxg:GridColumn FieldName="Y" Name="columnY"/>
<dxg:GridControl x:Name="grid">
<dxg:GridColumn FieldName="ID" Header="ID (Width is not saved)" Name="idColumn"/>
<dxg:GridColumn FieldName="Name" Header="Name (Width is saved)" Name="nameColumn"/>
See Also