Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListOperation.CanContinueIteration(TreeListNode) Method

Returns a value indicating whether the iteration must be stopped.

Namespace: DevExpress.XtraTreeList.Nodes.Operations

Assembly: DevExpress.XtraTreeList.v24.2.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