'宣言 Public Overloads Shared Function GetParentOfType( _ ByVal reference As Windows.UI.Xaml.DependencyObject, _ ByVal type As System.Type, _ ByVal lookOutsideVisualTree As System.Boolean _ ) As Windows.UI.Xaml.DependencyObject
public static Windows.UI.Xaml.DependencyObject GetParentOfType( Windows.UI.Xaml.DependencyObject reference, System.Type type, System.bool lookOutsideVisualTree )
パラメータ
- reference
- 親を返すビジュアルオブジェクト。
- type
- 検索する親要素の System.Type。
- lookOutsideVisualTree
- VisualTree の外部で検索を続行するかどうかを指定します。
戻り値の型
ビジュアルオブジェクトの親。