[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Feature Center
    [Expand]Data Binding
    [Expand]Data Editing
    [Expand]Data Presentation
    [Collapse]Appearances and Look And Feel
     [Expand]Alpha Blending
       Conditional Formatting
       Customizing the Appearance of Individual Cells
       Customizing the Appearance of TreeList Elements
       Customizing the Appearances of Columns
     [Expand]Custom Drawing
      Skins and LookAndFeel
    [Expand]Focus, Selection and Navigation
     Formatting Cell Values
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]End User Capabilities
   [Expand]Member Tables
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Customizing the Appearances of Columns

This topic describes how to customize the appearances of individual columns.

Expanded Customizing the Appearances of Columns

By default, the data cells within the Tree List are painted using the appearance settings provided by a Tree List (see the TreeList.Appearance property). This allows a common appearance for all the data cells, and for the cells displayed within the focused and selected nodes to be specified. Each column has a TreeListColumn.AppearanceCell property that allows you to override the default appearance settings for this particular column.

By default, a column's appearance settings only take priority over the Tree List's appearances which are used to paint the cells within the regular and selected nodes. However, they are overridden by the Tree List's appearances which are used to paint the focused node and focused cell. To give the column's appearance settings a higher priority, so that they override the control's appearances for the focused node and focused cell, set the AppearanceOptionsEx.HighPriority option of the TreeListColumn.AppearanceCell object to true.

Expanded Example

The following code specifies the appearance settings used to paint the Budget column's cells. The column's appearance is accessed via the TreeListColumn.AppearanceCell property.

The image below shows the result.

Is this topic helpful?​​​​​​​