Basic Library for UWP/WinRT XAML
SetBinding<T>(FrameworkElement,DependencyProperty,T,Expression<Func<T,Object>>) メソッド

ソースのタイプ
ターゲット。
設定される依存プロパティ。
ソース。
ソースオブジェクトのプロパティを返す式。
以前にこの依存プロパティが設定されておらず、要素のスタイルによってこのプロパティが設定されない場合に、連結を設定します。
構文
'宣言
 
Public Overloads Shared Sub SetBinding(Of T)( _
   ByVal target As Windows.UI.Xaml.FrameworkElement, _
   ByVal dp As Windows.UI.Xaml.DependencyProperty, _
   ByVal source As T, _
   ByVal expr As System.Linq.Expressions.Expression(Of Func(Of T,Object)) _
) 
public static void SetBinding<T>( 
   Windows.UI.Xaml.FrameworkElement target,
   Windows.UI.Xaml.DependencyProperty dp,
   T source,
   System.Linq.Expressions.Expression<Func<T,object>> expr
)

パラメータ

target
ターゲット。
dp
設定される依存プロパティ。
source
ソース。
expr
ソースオブジェクトのプロパティを返す式。

型パラメータ

T
ソースのタイプ
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

参照

関連項目

Extensions クラス
Extensions メンバ
オーバーロード一覧

Send Feedback