API:Data.Bind.Components.TContainedBindComponent.HasParent
Delphi
function HasParent: Boolean; override;
C++
DYNAMIC bool __fastcall HasParent();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Data.Bind.Components.pas Data.Bind.Components.hpp |
Data.Bind.Components | TContainedBindComponent |
説明
コンポーネントが親を持つかどうかを検証します。
Data.Bind.Components.TContainedBindComponent.HasParent は System.Classes.TComponent.HasParent を継承しています。以下の内容はすべて System.Classes.TComponent.HasParent を参照しています。
コンポーネントが親を持つかどうかを検証します。
特定のコンポーネントが親を持つかどうかを判断するには HasParent を呼び出します。
下位クラスでこのメソッドをオーバーライドして、親を持つかどうかについて適切な処理を実装します。
コンテナ コンポーネントの参照を取得するには、GetParentComponent を使用します。