Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxOwnedPersistent.GetOwner Method

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

#Declaration

Delphi
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