Home Forums WPF controls Xceed DataGrid for WPF Simple feasibility question: DataGrid for file list display?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #27113 |

    Hi,

    do you think Xceed DataGrid would be suitable to build an (extended) Windows Explorer-like file and directory list view with master-detail possiblity?

    What I have in mind is: a list view/table that displays a set of files and folders (either all in a specific directory, or all results from a search tool I have), with support for drag-and-drop, multiple selection, and detail view of the selected items.
    Would that work easier with Xceed DataGrid than doing it directly in WPF?
    And would the free version be sufficient (pro version might very well come in later when we extend the functionality even further)?

    Thanks, 

    Koen

    Imported from legacy forums. Posted by Koen (had 449 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Koen,

    Your post intrigued me so I tried to create a File Explorer-like application that uses the grid with master/detail to display folder and file listings. The result is that yes, it is possible; however, the workarounds necessary to get it to work outweigh the advantage of using the grid for this scenario.

    Clarification: Using the grid for the “left, folder-browser part” is the hard part and the one that requires a lot of workarounds, but the “right, file-browser part” was easy as you just need to bind the grid to an IEnumerable containing the FileInfo, DirectoryInfo, or even the DiskFile and DiskFolder classes of Xceed FileSytem (which is what I used).

    Hopes this answers your question! 

    Imported from legacy forums. Posted by Jenny [Xceed] (had 796 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.