aspnet-devexpress-dot-web-dot-aspxgrideditoreventargs.md
Gets the editor currently being processed.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public ASPxEditBase Editor { get; }
Public ReadOnly Property Editor As ASPxEditBase
| Type | Description |
|---|---|
| ASPxEditBase |
An ASPxEditBase descendant that is the processed cell editor.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Editor property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
asp-net-web-forms-grid-programmatically-bind-combobox-column/CS/Solution/Default.aspx.cs#L31
if (e.Column.FieldName == "Status") {
ASPxComboBox combo = (ASPxComboBox)e.Editor;
combo.DataBind();
asp-net-web-forms-grid-programmatically-bind-combobox-column/VB/Solution/Default.aspx.vb#L29
If Equals(e.Column.FieldName, "Status") Then
Dim combo As ASPxComboBox = CType(e.Editor, ASPxComboBox)
combo.DataBind()
See Also