Skip to content

TBaseMediator.View

View component for data display and editing

Declaration

Source position: fpobserver.pp line 129

public property View: TObject;

Description

The View property provides access to the view component that displays and allows editing of the subject's data. The base class returns nil; descendant classes override GetView to return their specific view component.

The view must have a published property matching ViewPropertyName for data binding to work correctly.

See also

Name Description
Subject Model object implementing IFPObserved interface
ViewClass Returns the minimum view class this mediator can handle
ViewPropertyName