Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridBand.Name Property

Gets or sets the band name.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.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