Skip to main content
A newer version of this page is available. .

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

[Browsable(false)]
[DefaultValue("")]
public virtual string Name { get; set; }

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.

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.

See Also