Basic Library for UWP/WinRT XAML
GetChildrenOfType メソッド

Windows.UI.Xaml.DependencyObject として参照される親ビジュアルオブジェクト。
検索する子要素の System.Type
見つかったオブジェクトが格納された System.Collections.Generic.IList`1 オブジェクト。
指定された親内にある指定された型のすべての子ビジュアルオブジェクトを返します。
構文
'宣言
 
Public Shared Sub GetChildrenOfType( _
   ByVal reference As Windows.UI.Xaml.DependencyObject, _
   ByVal type As System.Type, _
   ByRef list As System.Collections.Generic.IList(Of DependencyObject) _
) 
public static void GetChildrenOfType( 
   Windows.UI.Xaml.DependencyObject reference,
   System.Type type,
   ref System.Collections.Generic.IList<DependencyObject> list
)

パラメータ

reference
Windows.UI.Xaml.DependencyObject として参照される親ビジュアルオブジェクト。
type
検索する子要素の System.Type
list
見つかったオブジェクトが格納された System.Collections.Generic.IList`1 オブジェクト。
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

VTreeHelper クラス
VTreeHelper メンバ

Send Feedback