Back to Devexpress

GridColumnDisplayTextEventKind Enum

aspnet-devexpress-dot-web-eea90738.md

latest1.5 KB
Original Source

GridColumnDisplayTextEventKind Enum

Lists values that specify types of operations with grid data.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public enum GridColumnDisplayTextEventKind
vb
Public Enum GridColumnDisplayTextEventKind

Members

NameDescription
Display

The control is being rendered.

| | DataOperation |

Operations with data before the render.

| | Export |

The control prepares data for export.

|

The following properties accept/return GridColumnDisplayTextEventKind values:

Remarks

Use the Kind property to specify the type of operations in the grid-like controls’ CustomColumnDisplayText event handlers.

csharp
protected void Grid_CustomColumnDisplayText(object sender, ASPxGridViewColumnDisplayTextEventArgs e){
    if (e.Kind== GridColumnDisplayTextEventKind.Export){
      // your code
    }
}

See Also

DevExpress.Web Namespace