Skip to main content

TreeListOperation.CanContinueIteration(TreeListNode) Method

Returns a value indicating whether the iteration must be stopped.

Namespace: DevExpress.XtraTreeList.Nodes.Operations

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public virtual bool CanContinueIteration(
    TreeListNode node
)

Parameters

Name Type Description
node TreeListNode

A TreeListNode object representing the processed node.

Returns

Type Description
Boolean

true to continue iteration; false to stop the iteration.

Remarks

This method is called before the operation implemented in the TreeListOperation.Execute method is performed on the processed node. As implemented in the TreeListOperation class, the CanContinueIteration method returns true. This means that the iteration is stopped after all nodes have been processed. If the method returns false, the iteration process is stopped.

See Also