PivotGridFieldBase.Name Property
Gets or sets the field’s name.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v20.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string which specifies the field’s name. |
Remarks
PivotGridFieldBase objects are Component descendants and thus can be directly accessed in code using their names.
Use the Name property to assign a name to a PivotGridFieldBase object created at runtime. To retrieve a field from the control’s field collection by its name use the PivotGridFieldCollectionBase.GetFieldByName method.
Related GitHub Examples
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.