Click or drag to resize

LogicalNodeViewModelTraverse(FuncInt32, IExpandableNode, Object, Object, Object) method

Goes recursively through the tree and calls the action for each node.

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public Object? Traverse(
	
	Func<int, IExpandableNode, Object?, Object?> callback,
	
	Object? userObject
)

Parameters

callback  FuncInt32, IExpandableNode, Object, Object
The callback of type Func<int, IExpandableNode, object, object> to be called for each node.
userObject  Object
A user object that is recursively forwarded and modified.

Return value

Object
The top-level UserObject for the tree.
See also