TreeList.EditingValue Property

Gets or sets the cell value being edited.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[Browsable(false)]
public virtual object EditingValue { get; set; }
<Browsable(False)>
Public Overridable Property EditingValue As Object

Property Value

Type Description
Object

An object representing the currently edited cell value. null (Nothing in Visual Basic) if editing is not being performed at the moment.

Remarks

When a cell value is being edited you can access it via the EditingValue property. If editing is not being performed this property returns null (Nothing in Visual Basic). Assignment to this property is not in effect in such an instance.

When a cell is being edited you can obtain the column and node to which it belongs via the TreeList.FocusedColumn and TreeList.FocusedNode properties. The type of a column can be obtained via the TreeListColumn.ColumnType property of a column. You can use this information to perform required typecasts.

See Also