ResourcesTree.PopulateColumns() Method
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
#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();