windowsforms-401296-controls-and-libraries-gantt-control-view-options-and-appearances.md
The GanttControl‘s look and feel depends on the skin applied to the application.
Basic
The Bezier
Office 2013 Dark
Office 2019 Colorful
DevExpress Style
To specify the application skin, use the DevExpress Project Settings window:
See the following help topic for more information about application settings: Project Settings Page.
The control consists of multiple visual elements — columns, rows, cells, column headers, buttons, etc. The skin specifies each visual element’s appearance settings — background and foreground colors, font face, size and style, etc. For example, cells are filled with white, column headers — with gray. You can use the GanttControl.Appearance property to access and customize appearance settings for each visual element.
The figure below shows the Gantt control with custom background colors for work and non-work dates.
ganttControl1.Appearance.ChartWorkTime.BackColor = Color.AliceBlue;
ganttControl1.Appearance.ChartNonWorkTime.BackColor = Color.Green;
ganttControl1.Appearance.ChartWorkTime.BackColor = Color.AliceBlue
ganttControl1.Appearance.ChartNonWorkTime.BackColor = Color.Green
See the following help topic for more information about skins and appearance settings: Application Appearance and Skin Colors.
You can also use the Skin Editor to customize a specific visual element’s appearance.
Tip
To identify a visual element, hold Ctrl and click it.
See the following help topic for more information on how to create a custom skin and apply it to an application: WinForms Skin Editor.