Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlBehaviorOptions.ReadOnly Property

Specifies if a user can edit data in the Chart and Resource Sheet Views.

#Declaration

Delphi
property ReadOnly: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Set this property to True to restrict the following user actions:

  • Add or delete tasks/resources.

  • Edit sheet cell values.

  • Change a chart (add/delete tasks or edit tasks) with task editing dialogs or a pop-up menu.

  • Move sheet row cells (that is, change the task/resource order).

  • Drag and resize tasks in the chart area (that is, change task start and finish dates).

This property does not affect column resize, move, and hide operations.

Note

An Undo procedure call has no effect if the ReadOnly property value is True.

The ReadOnly property’s default value is False.

See Also