[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
General-purpose mediator for any TComponent-based view
Source position: fpobserver.pp line 153
type TComponentMediator = class(TBaseMediator) |
||
published |
||
property ViewComponent: TComponent; [rw] |
|
Component serving as the view in the mediation |
property ViewPropertyName: string; |
|
Name of property in view component to mediate |
end; |
|
General-purpose mediator for any TComponent-based view |
|
| | | ||
|
Base class for mediating data between model and view objects |
|
| | | ||
| | | ||
| | | ||
The TComponentMediator class provides mediation capabilities for any TComponent-based view. It extends TBaseMediator to work with components that can be set at design time or runtime.
This mediator is useful for creating flexible data binding scenarios where the specific view component type is not known at compile time, or when working with various types of input controls. You can also create descendants from this class which introduce more specific behaviour
|
Base class for mediating data between model and view objects |