Method IsInHierarchy
IsInHierarchy(View?, View?, bool)
Gets whether view is in the View hierarchy of start.
public static bool IsInHierarchy(View? start, View? view, bool includeAdornments = false)
Parameters
startViewThe View at the start of the hierarchy.
viewViewThe View to test.
includeAdornmentsboolWill include all Adornments in addition to Subviews if true.