BaseView.ActiveEditor Property

Gets the active editor within a View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Browsable(false)]
public virtual BaseEdit ActiveEditor { get; }
<Browsable(False)>
Public Overridable ReadOnly Property ActiveEditor As BaseEdit

Property Value

Type Description
BaseEdit

A BaseEdit descendant representing the active editor within the current View. null (Nothing in Visual Basic) if no cell is being edited at the moment.

Remarks

This property is used to access properties and methods of the active cell editor within the current View. However, as implemented in the BaseEdit class, the ActiveEditor property returns null (Nothing in Visual Basic). This property is overridden in derived classes to return a proper value.

NOTE

Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the ActiveEditor member must not be invoked for these Views. The ActiveEditor member can only be used with real Views that are displayed within the Grid Control. The real Views with which an end-user interacts at runtime can be accessed using the following methods.

See Also