Back to Devexpress

GridColumn.GetDescription() Method

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumn-dd5141d9.md

latest1.8 KB
Original Source

GridColumn.GetDescription() Method

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

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public virtual string GetDescription()
vb
Public Overridable Function GetDescription As String

Returns

TypeDescription
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

Data Annotation Attributes

GridColumn Class

GridColumn Members

DevExpress.XtraGrid.Columns Namespace