Back to Devexpress

GridBand.Tag Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-4fb27ed3.md

latest1.7 KB
Original Source

GridBand.Tag Property

Gets or sets the data associated with the current band.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Data")]
public virtual object Tag { get; set; }
vb
<DXCategory("Data")>
<DefaultValue(Nothing)>
Public Overridable Property Tag As Object

Property Value

TypeDefaultDescription
Objectnull

An object containing information which is associated with the current band.

|

Remarks

This property can be used to store any object that you want to associate with the current band. Any type derived from the Object class can be assigned to this property via code. At design time, a specially designed dialog is used to set this property’s value. This dialog enables you to choose the data type and enter the desired value.

See Also

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace