Skip to content

DevExpress-Examples/winforms-treelist-dynamic-load-nodes-unbound-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms TreeList - Dynamic node loading in unbound mode

This example displays your local file-folder structure in the WinForms TreeList control. The example implements dynamic node loading in unbound mode:

private void treeList1_BeforeExpand(object sender, DevExpress.XtraTreeList.BeforeExpandEventArgs e) {
    if (e.Node.Tag != null) {
        Cursor currentCursor = Cursor.Current;
        Cursor.Current = Cursors.WaitCursor;
        InitFolders(e.Node.GetDisplayText("FullName"), e.Node);
        e.Node.Tag = null;
        Cursor.Current = currentCursor;
    }
}

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Display your local file-folder structure in the unbound TreeList control.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •