FMX.Types.TFmxObject.Root
Delphi
property Root: IRoot read FRoot;
C++
__property _di_IRoot Root = {read=FRoot};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TFmxObject |
Description
Specifies the root parent of this object.
The Root property is a link to the root parent of this object.
By default, the root object is the youngest parent in the hierarchy of the object parents, which supports the IRoot interface. If no parent supports IRoot, then Root = nil
.
Notice that a Root object provides the Focused, Hovered, and Captured properties. Therefore, among the Children of the Root object, at each moment, there can only be one: