Back to Devexpress

GridBand.Name Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-256e41e3.md

latest2.2 KB
Original Source

GridBand.Name Property

Gets or sets the band name.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
StringString.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

Index

GridBandCollection

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace