Skip to main content

BaseView.ActiveEditor Property

Gets the active editor within a View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

[Browsable(false)]
public virtual BaseEdit ActiveEditor { get; }

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 Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also