Sparkline for UWP
GetFirstParent メソッド

C1.UWP アセンブリ > C1.Xaml 名前空間 > VTreeHelper クラス : GetFirstParent メソッド
親を返すビジュアルオブジェクト。
検索する型の System.Collections.Generic.IList`1リスト。
検索の終了点を表すビジュアルオブジェクト。
指定された型のいずれかであるビジュアルオブジェクトの最初の親を表す Windows.UI.Xaml.DependencyObject値を返します。このメソッドは、目的の親要素が見つかるか、親要素が指定された endObject になるまで、ビジュアルツリーを検索します。
シンタックス
'宣言
 
Public Shared Function GetFirstParent( _
   ByVal reference As Windows.UI.Xaml.DependencyObject, _
   ByVal types As System.Collections.Generic.IList(Of Type), _
   ByVal endObject As Windows.UI.Xaml.DependencyObject _
) As Windows.UI.Xaml.DependencyObject
public static Windows.UI.Xaml.DependencyObject GetFirstParent( 
   Windows.UI.Xaml.DependencyObject reference,
   System.Collections.Generic.IList<Type> types,
   Windows.UI.Xaml.DependencyObject endObject
)

パラメータ

reference
親を返すビジュアルオブジェクト。
types
検索する型の System.Collections.Generic.IList`1リスト。
endObject
検索の終了点を表すビジュアルオブジェクト。

戻り値の型

ビジュアルオブジェクトの親。
参照

VTreeHelper クラス
VTreeHelper メンバ