Back to Devexpress

TreeList.Refresh() Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-06b9775c.md

latest2.5 KB
Original Source

TreeList.Refresh() Method

Forces the Tree List to invalidate its client area and immediately redraw itself.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public override void Refresh()
vb
Public Overrides Sub Refresh

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Refresh() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-treelist-show-checkboxes-for-specific-level/CS/WindowsApplication1/Form1.cs#L63

csharp
get { return _Level; }
    set { _Level = value; _TreeList.Refresh(); }
}

winforms-treelist-show-checkboxes-for-specific-level/VB/WindowsApplication1/Form1.vb#L65

vb
_Level = value
    _TreeList.Refresh()
End Set

See Also

RefreshNode(TreeListNode)

RefreshCell(TreeListNode, TreeListColumn)

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace