Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Grid Lines and Tree Lines

v
By design, the DevExpress Style, Metropolis, Metropolis Blue, Moderno, iOS, Material, Material Compact, Office 365, Office 365 Dark, Mulberry, Office 2010 Blue, Office 2010 Black, Office 2010 Silver themes do not display tree lines. Switch to a different theme to view and manipulate tree line setting in this demo.

 
Department
Location
Phone
CollapseCorporate HeadquartersMonterey(408) 555-1234
 CollapseSales and MarketingSan Francisco(415) 555-1234
   Field Office: CanadaToronto(416) 677-1000
   Field Office: East CoastBoston(617) 555-4234
  CollapsePacific Rim HeadquartersKuaui(808) 555-1234
    Field Office: SingaporeSingapore(606) 555-5486
    Field Office: JapanTokyo(707) 555-1526
   MarketingSan Francisco(415) 555-1234
  FinanceMonterey(408) 555-1234
 CollapseEngineeringMonterey(408) 555-1234
  CollapseConsumer Electronics Div.Burlington, VT(802) 555-1234
    Software DevelopmentMonterey(408) 555-1234
  CollapseSoftware Products Div.Monterey(408) 555-1234
    Quality AssuranceMonterey(408) 555-1234
    Customer SupportMonterey(408) 555-1234
    Research and DevelopmentBurlington, VT(802) 555-1234
    Customer ServicesBurlington, VT(802) 555-1234

The DevExpress ASP.NET Tree List (ASPxTreeList) provides multiple options that control the visibility of:

  • border;
  • tree lines;
  • grid lines.

In this demo, toggle the Show tree lines and Show control's border check boxes to show/hide the tree lines and border, respectively.

The ASPxTreeList provides multiple gridline styles. It can render horizontal or vertical lines only, or both horizontal and vertical lines. This is controlled by the Settings.GridLines property.

In this demo, use the 'Grid lines' combo box to select the required gridline style.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxTreeListDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxTreeListDemos