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

Editor Rows

  • 2 minutes to read

Editor Rows are used to display and edit data items. Editor Rows are formatted in the following manner: one header cell in a header column and one data cell in a data column.

The header cell contains descriptive information about the row while the data cell is a container for a data item.

Features of Editor Rows

Settings that manage the Editor Row (represented by the TcxCustomEditorRow class) fall into four groups. The following classes represent these groups:

  1. The TcxCustomRow class provides properties common to all the types of rows published in its subclasses while the TcxEditorRow.Properties property represents settings custom to the Editor Row.

  2. The TcxRowOptions class provides options common to all types of rows. The TcxEditorRow.Options property references the TcxRowOptions object.

  3. The TcxCustomEditorRowProperties class provides settings inherited from the TcxCaptionRowProperties and settings it implements that define the Editor Row behavior. The most important properties TcxCustomEditorRowProperties.EditProperties (and TcxCustomEditorRowProperties.EditPropertiesClass) or TcxCustomEditorRowProperties.RepositoryItem are used to assign the appropriate data item editor and customize its settings. See a detailed description on this theme in the Assigning Editors to Editor Rows topic. The TcxEditorRow.Properties property references the TcxCustomEditorRowProperties object.

  4. The TcxEditorRowStyles class provides style settings inherited from the TcxCategoryRowStyles class and implemented in its own. The TcxEditorRow.Styles property references the TcxEditorRowStyles object.

The following image demonstrates the settings of Editor Rows in the Object Inspector at design time: