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

ResourcesTree.PopulateColumns() Method

In This Article

Creates Resource Tree columns for all public fields in the bound data source based on the configured resource mappings. This method removes all existing columns.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v24.2.Extensions.dll

NuGet Package: DevExpress.Win.SchedulerExtensions

#Declaration

public void PopulateColumns()

#Remarks

The following code snippet creates and displays a Resource Tree, binds it to a SchedulerControl instance, and generates columns according to the configured resource mappings:

var rt = new ResourcesTree();
Controls.Add(rt);
rt.Size = new Size(250, 400);
rt.Dock = DockStyle.Right;
rt.SchedulerControl = this.schedulerControl1;
rt.PopulateColumns();
See Also