Version

ContinueDescendantSearch Method (DayUIElement)

This method is called from the GetDescendant method as an optimization to prevent searching down element paths that can't possibly contain the element that is being searched for.
Syntax
'Declaration
 
Protected Overrides Function ContinueDescendantSearch( _
   ByVal type As Type, _
   ByVal contexts() As Object _
) As Boolean
protected override bool ContinueDescendantSearch( 
   Type type,
   object[] contexts
)

Parameters

type
The System.Type (or base class type) of the UIElement to look for.
contexts
The contexts that must all match with the contexts of the UIElement.

Return Value

True if there is any possiblity that the element being sought is a descendant of this element. If this method returns false then descendant elements of this element will be excluded from the search.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also