Tag
A newer version of this page is available. Switch to the current version.

PivotGridFieldBase.Name Property

Gets or sets the field’s name.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v18.2.Core.dll

Declaration

[Browsable(false)]
[DefaultValue("")]
[XtraSerializableProperty]
[XtraSerializablePropertyId(-1)]
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.

See Also