'Declaration
Public Overloads Shared Function GetParentOfType( _
ByVal As Windows.UI.Xaml.DependencyObject, _
ByVal As System.Type, _
ByVal As Windows.UI.Xaml.DependencyObject, _
ByVal As System.Boolean _
) As Windows.UI.Xaml.DependencyObject
public static Windows.UI.Xaml.DependencyObject GetParentOfType(
Windows.UI.Xaml.DependencyObject ,
System.Type ,
Windows.UI.Xaml.DependencyObject ,
System.bool
)
Parameters
- reference
- The visual whose parent is returned.
- type
- The System.Type of the parent element to search for.
- endObject
- The visual representing the end point of search.
- lookOutsideVisualTree
- Specifies whether the search should go on outside the VisualTree.
Return Value
The parent of the visual.