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

Windows.UI.Xaml.DependencyObject として参照される親ビジュアルオブジェクト。
検索する子要素の System.Type
指定された親内にある指定された型の最初の子ビジュアルオブジェクトを返します。
構文
'宣言
 
Public Shared Function GetChildOfType( _
   ByVal reference As Windows.UI.Xaml.DependencyObject, _
   ByVal type As System.Type _
) As Windows.UI.Xaml.DependencyObject
public static Windows.UI.Xaml.DependencyObject GetChildOfType( 
   Windows.UI.Xaml.DependencyObject reference,
   System.Type type
)

パラメータ

reference
Windows.UI.Xaml.DependencyObject として参照される親ビジュアルオブジェクト。
type
検索する子要素の System.Type

戻り値の型

指定された型のビジュアルオブジェクト。
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