PivotGridFieldBase.Name Property

Gets or sets the field's name.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll

Declaration

[Browsable(false)]
[DefaultValue("")]
public virtual string Name { get; set; }
<Browsable(False)>
<DefaultValue("")>
Public Overridable Property Name As String

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