Skip to main content

GridBand.Name Property

Gets or sets the band name.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
String String.Empty

A String value specifying the band name.

Remarks

GridBand objects are Component descendants and can be directly accessed in code by their names. The Name property specifies the string that can be used in code to access the band. Changing the Name property at runtime has no effect.

Note

Set the band names to unique values to avoid issues when saving/restoring a View’s layout.

See Also