TreeListOperation.FinalizeOperation() Method

Can be overridden to perform final operations and free allocated resources.

Namespace: DevExpress.XtraTreeList.Nodes.Operations

Assembly: DevExpress.XtraTreeList.v20.1.dll


public virtual void FinalizeOperation()
Public Overridable Sub FinalizeOperation


Some operations require their results to be corrected after all the required nodes have been visited. For instance, this event can be used when calculating the average of field values within the processed nodes. The TreeListOperation.Execute method can be used to increment a node counter and sum field values. The FinalizeOperation method may then be used to calculate the average.

You can also override the FinalizeOperation method to free any resources that were allocated during the previous operation.

See Also