Returns the closest ancestor node of type T, or null if no such ancestor is found.
Generic type argument
The closest ancestor node.
Gets the service object of the specified type.
Generic type argument
An object of type T, or null if no service of type T was found.
Determines whether this instance is a descendant of the specified node. Note: A node is not considered a descendant of itself.
The potential ancestor node.
true if this instance is a descendant of the specified node; otherwise, false.
An interface which declares methods for accessing the context of a node.
Since
2.0