[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
     [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)

Skins and LookAndFeel

Like any other DevExpress WinForms control, you can customize a Tree List control's look and feel, applying one of the predefined paint schemes to it. You can choose one of the Skinning paint schemes, or the Office2003, WindowsXP, Flat, UltraFlat scheme, etc.

A paint scheme defines the overall appearance of a control's elements. It specifies how the control's buttons, headers, borders, etc are painted. See the following image, where Tree List controls are painted using different schemes:

When applying a paint scheme to a control, you can still change the appearance (background and foreground colors, font settings, etc) of some elements. However, in Skinning, Office2003 and WindowsXP schemes, the background of some elements (for instance, column headers and expand buttons) are solely controlled by the paint scheme, and cannot be changed via a corresponding appearance option.

You can choose one of the following scenarios to customize a Tree List control's look and feel:

  • Customize the control's look and feel settings via the TreeList.LookAndFeel property. Use this approach, if you need to provide different paint schemes for the Tree List control and other controls within your form,

    By default, look and feel settings provided by the TreeList.LookAndFeel object are ignored. To ensure that this object's settings are in effect set the LookAndFeel.UseDefaultLookAndFeel property to false. Otherwise the control will use the look and feel settings exposed by the Default LookAndFeel object.

  • Customize the look and feel settings of all the controls within the form - via the XtraForm form.

    When using the XtraForm form, it's easy to provide centralized management of the look and feel settings for all the controls residing within this form.

  • Customize the look and feel settings of all the controls within your application - via the Default LookAndFeel object.

    This approach can be used to provide centralized control over the look and feel settings of the controls in your applications. It implies accessing the static UserLookAndFeel.Default property at runtime or using the DefaultLookAndFeel component at design time.

For additional information on the Look And Feel mechanism, and solutions to common tasks for customizing the look and feel of controls, refer to the Look And Feel and Skinning document.

Expanded See Also

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