vcl-cxinplacecontainer-67ceaa87.md
The base class for columns in Tree List controls.
TcxCustomInplaceEditContainer = class(
TComponent,
IcxEditRepositoryItemListener,
IcxEditorPropertiesContainer,
IdxScaleFactor,
IdxDateTimeHandling,
IdxExcelFilterableComponent,
IdxFilteringDateTimeHandling,
IdxFilterableComponent,
IdxFilterImagesProvider,
IdxAutomationElement
)
The TcxCustomInplaceEditContainer class implements column functionality in Tree List columns.
A tree list column can use any editor shipped with the ExpressEditors Library as an in-place editor for cell edit operations. An in-place editor instance exists (and, therefore, has its own WinAPI handle) only when a column cell is being edited. Otherwise, the column displays a static editor image for resource usage optimization.
To switch between available in-place editors, you can use the PropertiesClass property. Use the Properties property to configure the in-place editor associated with the column.
Alternatively, you can assign an edit repository item component to the RepositoryItem property and use the repository item to define the active in-place editor and customize its settings.
Note
If an edit repository item is assigned to the RepositoryItem property, Properties, PropertiesClass, and PropertiesClassName properties have no effect.
You can handle a tree list column’s OnGetEditProperties and OnGetEditingProperties events to dynamically change the assigned in-place editor and its settings based on custom conditions.
Important
Do not change PropertiesClass, PropertiesClassName, and Properties property values directly in OnGetEditProperties and OnGetEditingProperties event handlers.
To change the active editor and modify its settings safely within these event handlers, use the RepositoryItem property and TcxEditRepositoryItem class descendants.
The list below outlines key members of the TcxCustomInplaceEditContainer class that allow you to configure columns in a Tree List control.
OnGetFilterImages | OnGetFilterValuesAllow you to customize the tree list column’s filter drop-down window.StylesAllows you to change the appearance of different tree list column elements.
EditingSpecifies if the assigned in-place cell editor is active.EditValueAllows you to access and modify the edited cell value.PropertiesAllows you to customize the settings of the assigned in-place editor.PropertiesValueProvides access to active in-place editor settings.PropertiesClassSpecifies the active in-place editor class. At design time, you can use the Properties node in the Object Inspector to assign an in-place editor to the tree list column and configure the editor.RepositoryItem
Allows you to associate the tree list column with a repository item that defines the required in-place editor and its settings.
Tip
Repository items are particularly useful if you need to share in-place editor settings between multiple tree list columns or customize editor settings in OnGetEditProperties and OnGetEditingProperties event handlers.
FocusedSpecifies if the tree list column has focus.ItemIndexReturns the column’s index.ShowExpressionEditorInvokes the Expression Editor dialog.VisibleForExpressionEditorSpecifies if the column is visible in the Expression Editor dialog.
OptionsAllows you to configure general tree list column settings.
Do not use the TcxCustomInplaceEditContainer class directly. Use the following descendants instead:
TcxTreeListColumnAn unbound Tree List column.TcxDBTreeListColumnA data-aware Tree List column.
TObject TPersistent TComponent TcxCustomInplaceEditContainer
See Also