Back to Devexpress

TdxOcNode.IndexOf(TdxOcNode) Method

vcl-dxorgchr-dot-tdxocnode-dot-indexof-x28-dxorgchr-dot-tdxocnode-x29.md

latest815 B
Original Source

TdxOcNode.IndexOf(TdxOcNode) Method

Returns the index of the specified child node.

Declaration

delphi
function IndexOf(Value: TdxOcNode): Integer;

Parameters

NameType
ValueTdxOcNode

Returns

Type
Integer

Remarks

Call this function to obtain the node’s index passed as the Value parameter. If this node is the current node’s child, the IndexOf function returns its index; otherwise — -1.

See Also

TdxOcNode.Index

TdxOcNode.Parent

TdxOcNode Class

TdxOcNode Members

dxorgchr Unit