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

TcxOwnedPersistent.GetOwner Method

Returns the persistent object to which the current property set or persistent information container belongs.

Declaration

function GetOwner: TPersistent; override;

Returns

Type
TPersistent

Remarks

Persistent property sets and information containers call the GetOwner function internally or use the Owner property to notify and update the affected (owner) persistent object according to the changes made to the stored settings and/or other stored information.

TcxOwnedPersistent class descendants can override this function to cast the Owner property’s underlying field value to the target owner class.

See Also