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

TCustomdxPSExplorerItem.HasAsParent(TCustomdxPSExplorerItem) Method

Returns a value indicating whether the item is a child of the item passed as the parameter.

#Declaration

Delphi
function HasAsParent(AnItem: TCustomdxPSExplorerItem): Boolean;

#Parameters

Name Type
AnItem TCustomdxPSExplorerItem

#Returns

Type
Boolean

#Remarks

The HasAsParent method scans the report hierarchy to the top searching for the item specified. If found, the method returns True if the specified item is the current item’s parent at any nesting level.

Note that if you need to obtain the item’s immediate parent, you should use the item’s Parent property.

See Also