Skip to main content
All docs
V24.2

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

TreeList.InvalidateRowPreview(TreeListNode) Method

Invalidates the preview section in the specified node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public virtual void InvalidateRowPreview(
    TreeListNode node
)

#Parameters

Name Type Description
node TreeListNode

The node whose preview section is to be invalidated.

#Remarks

The InvalidateRowPreview method forces the TreeList to repaint the preview section in the specified node. This can be useful when you custom paint preview sections and need to redraw a certain preview section due to custom changes that do not automatically redraw.

Use the InvalidateNodes() method to force the TreeList to redraw all visible nodes and row footers.

See Also