Xceed Grid for WinForms v4.3 Documentation
UnboundTreeView Sample Application
Welcome to Xceed Grid for WinForms v4.3 > Sample applications > UnboundTreeView Sample Application

Programming languages

VB.NET, C#

Overview

This sample presents two independent, but synchronized grids that work together to present a mini file & folder explorer. This is an unbound grid sample with no underlying database being manipulated. The sample presents grids with no lines in between the cells in order to make the grid look like a regular list – this is accomplished using a stylesheet.

Demonstrates

  • How to make grid elements non-editable (CanBeCurrent, CanBeSelected properties) 

  • Using stylesheets 

  • Building a grid not bound to a data source 

  • Synchronize two grids 

  • How to make columns visible or hide them using the Visible property 

  • How to prevent a column's width from being resized (MinWidth, MaxWidth

  • How a grid's element can be subscribed to an event (in this case, MouseDown in a cell)

Project location & filename

C#: Xceed Samples\Xceed Grid for WinForms v#.#\CSharp\UnboundTreeView\UnboundGridCS.csproj

VB.NET: Xceed Samples\Xceed Grid for WinForms v#.#\Visual Basic .NET\UnboundTreeView\UnboundGridVB.vbproj