Table of Contents

TAdvCustomInspector.GetLevel Method

Returns the level of the specified property. Properties can have subproperties, and each subproperty might have its subproperties as well. So, the level indicates the position of the subproperty in this chain.

Syntax

Unit: InspectorControls

function TAdvCustomInspector.GetLevel(TheIndex: Integer): Integer; virtual;

Parameters

<-> Parameter Type Description
TheIndex Integer index of the specified property.

Returns

The level of the property. First (top) level is 0, second level is 1, and so on.

See also