Skip to main content

GridColumn.GetDescription() Method

Gets this column’s description, assigned using the [Display(Description = “. . .”)] data attribute.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public virtual string GetDescription()

Returns

Type Description
String

A String value that is the column’s description.

Remarks

The GetDescription method returns the string description of this column, assigned using the Data Annotation Attributes.

Note

The GetDescription method always returns the description, specified by the attribute, and does not reflect actual description changes made by setting the GridColumn.ToolTip property.

See Also