GridTextColumn Class

Represents a column with text values.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

public class GridTextColumn :
    GridTextColumnBase,
    IColumnInfo,
    IDataColumnInfo,
    INotifyPropertyChanged,
    IDetailElement<ColumnBase>
Public Class GridTextColumn
    Inherits GridTextColumnBase
    Implements IColumnInfo,
               IDataColumnInfo,
               INotifyPropertyChanged,
               IDetailElement(Of ColumnBase)

There are five column types used to present specific data types (Boolean, Date-Time, Numeric, Lists and Text), one column type that provides masking capabilities for text values, and one column type for custom data presentation via templates. Cell values are edited using data editors. Each column type stores specific settings responsible for the data editor's functionality. A cell's editor is created when an end-user starts to edit the cell's value and is automatically destroyed when editing is completed. This dramatically increases the application's performance.

<Grid:GridTextColumn FieldName="OID" Header="Id" AllowEditing="False"/>
<Grid:GridTextColumn FieldName="From"/>

Use the ColumnBase.AllowEditing property to specify whether column values can be edited by end-users.

To learn more, see Data Editing.

See Also