Xceed Grid for WinForms v4.3 Documentation
Welcome to Xceed Grid for WinForms v4.3 / Sample applications / GridTreeViewBrowser Sample Application
In This Topic
    GridTreeViewBrowser Sample Application
    In This Topic

    Programming languages

    VB.NET, C#

    Overview

    This sample illustrates how the grid can be used as a powerful TreeView control thanks to the grid's new hierarchical Master/Detail capabilities. It turns the grid into a complete filesystem browser in a single control (instead of the usual TreeView + ListView pair). It makes use of the grid's ability to display multiple detail grids (on the same level) to separate the folders from the files, while letting you sort the files and manipulate their data columns separately.

    Demonstrates

    • How to use unbound detail grids 

    • How to load detail grid data dynamically only when expanded 

    • How to display more than one detail grid per data row 

    • How to remove grid lines 

    • How to have unsynchronized detail grids (different sorting, grouping, etc for each detail grid) 

    • How to use a bitmap column type 

    • How to use the Tag property to store parameters on detail grids
       

    Project location & filename

    C#: Xceed Samples\Xceed Grid for WinForms v#.#\CSharp\GridTreeViewBrowser\GridTreeViewBrowserCS.csproj

    VB.NET: Xceed Samples\Xceed Grid for WinForms v#.#\Visual Basic .NET\GridTreeViewBrowser\GridTreeViewBrowserVB.vbproj