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

Alternating Node Style

 
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
  ExpandPacific Rim HeadquartersKuaui(808) 555-1234
   MarketingSan Francisco(415) 555-1234
  FinanceMonterey(408) 555-1234
 CollapseEngineeringMonterey(408) 555-1234
  ExpandConsumer Electronics Div.Burlington, VT(802) 555-1234
  ExpandSoftware Products Div.Monterey(408) 555-1234

To enhance the readability of the DevExpress ASP.NET Tree List (ASPxTreeList), you can highlight alternating (even) nodes with a different style. To do so, set the Styles.AlternatingNode.Enabled property to true. To override the default style and provide your own style setting, use the Styles.AlternatingNode property.

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