Skip to main content
A newer version of this page is available. .

GridBand.Name Property

Gets or sets the band name.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

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 thus, can be directly accessed in code using their names. Therefore, the Name property specifies the string that can be used in code to access the column. Note that changing the Name property at runtime has no effect.

You can also use the Name property to identify a column when handling column related events, etc. Refer to the Columns help topic for more information on identifying columns.

See Also