WpfUtil.FindVisualParent<T>-Methode (UIElement, Type)

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Shared Function FindVisualParent(Of T As UIElement) ( _
    element As UIElement, _
    stopOnType As Type _
) As T
public static T FindVisualParent<T>(
    UIElement element,
    Type stopOnType
)
where T : UIElement

Typparameter

  • T

Parameter

Rückgabewert

Typ: T

.NET Framework-Sicherheit

Siehe auch

Referenz

WpfUtil Klasse

FindVisualParent-Überladung

Microsoft.TeamFoundation.Controls.WPF-Namespace