Back to Devexpress

TreeViewControl.SetNodeValue(TreeListNode, Object) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-dot-setnodevalue-x28-devexpress-dot-xpf-dot-grid-dot-treelistnode-system-dot-object-x29.md

latest1.6 KB
Original Source

TreeViewControl.SetNodeValue(TreeListNode, Object) Method

Sets the value of the specified node.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void SetNodeValue(
    TreeListNode node,
    object value
)
vb
Public Sub SetNodeValue(
    node As TreeListNode,
    value As Object
)

Parameters

NameTypeDescription
nodeTreeListNode

The required node.

| | value | Object |

The specified node’s new value.

|

Remarks

The node value is the value displayed in the TreeViewControl when you specify the TreeViewFieldName property.

The SetNodeValue method works only if the TreeListNode.Content property is assigned to an object.

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace