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

TreeList.RefreshDataSource() Method

In This Article

Updates the Tree List control to reflect changes made to a data source.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public virtual void RefreshDataSource()

#Remarks

Call the RefreshDataSource method to update data displayed within the Tree List. This method reloads all the records from the Tree List’s associated data source. Note that calling this method makes sense only when the bound data source doesn’t support the IBindingList interface. Otherwise, the control will automatically update itself, since such data sources provide notifications of data changes.

When a Tree List is in the unbound mode, calling the RefreshDataSource method has no effect.

See Also