Skip to main content
All docs
V25.1
  • 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.v25.1.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