Skip to main content
A newer version of this page is available. .

View Options and Appearances

View Options

The GanttControl.OptionsView property provides access to the following view options:

  • ShowBaselines — Gets or sets whether to show task baselines in the chart area.
  • ShowHorzLines — Gets or sets whether to show horizontal lines in the task list.
  • ShowFirstLines — Gets or sets whether the control displays the nearest (leftmost) vertical gridlines in the column that displays the node expand buttons.
  • ShowIndicator — Gets or sets whether the node indicator panel is displayed in the task list.

Appearances

The GanttControl.Appearance property provides access to the following appearance settings:

  • ChartWorkTime — Provides access to chart work time appearance settings.
  • ChartNonWorkTime — Provides access to chart non-work time appearance settings.
  • ChartHorzLine — Provides access to chart horizontal line appearance settings.
  • ChartVertLine — Provides access to chart vertical line appearance settings.
  • ChartTimescaleRuler — Provides access to timescale ruler appearance settings.
  • Splitter — Provides access to splitter appearance settings.

The figure below shows the Gantt control with custom background colors for work and non-work dates.