Back to Devexpress

BaseView.ActiveEditor Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-800069eb.md

latest3.1 KB
Original Source

BaseView.ActiveEditor Property

Gets the active editor within a View.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
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

Edit Data. Create Cell Editors. Validate User Input

IsEditing

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace