'宣言 Public Overloads Shared Function GetAncestorFromType( _ ByVal descendant As DependencyObject, _ ByVal type As Type, _ ByVal allowSubclassOfType As Boolean, _ ByVal stopAtVisual As DependencyObject, _ ByVal stopAtType As Type _ ) As DependencyObject
public static DependencyObject GetAncestorFromType( DependencyObject descendant, Type type, bool allowSubclassOfType, DependencyObject stopAtVisual, Type stopAtType )