Back to Devexpress

TreeList.EditingValue Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-96afdb19.md

latest2.3 KB
Original Source

TreeList.EditingValue Property

Gets or sets the cell value being edited.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
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

ActiveEditor

FocusedColumn

FocusedNode

ColumnType

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace