NativeBindingHelpers.SetBinding 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetBinding<TNativeView>(TNativeView, BindableProperty, BindingBase) |
供 Xamarin.Forms 平台內部使用。 |
SetBinding<TNativeView>(TNativeView, String, BindingBase, INotifyPropertyChanged) |
供 Xamarin.Forms 平台內部使用。 |
SetBinding<TNativeView>(TNativeView, String, BindingBase, String) |
供 Xamarin.Forms 平台內部使用。 |
SetBinding<TNativeView>(TNativeView, BindableProperty, BindingBase)
供 Xamarin.Forms 平台內部使用。
public static void SetBinding<TNativeView> (TNativeView target, Xamarin.Forms.BindableProperty targetProperty, Xamarin.Forms.BindingBase binding) where TNativeView : class;
static member SetBinding : 'NativeView * Xamarin.Forms.BindableProperty * Xamarin.Forms.BindingBase -> unit (requires 'NativeView : null)
類型參數
- TNativeView
供 Xamarin.Forms 平台內部使用。
參數
- target
- TNativeView
供 Xamarin.Forms 平台內部使用。
- targetProperty
- BindableProperty
供 Xamarin.Forms 平台內部使用。
- binding
- BindingBase
供 Xamarin.Forms 平台內部使用。
適用於
SetBinding<TNativeView>(TNativeView, String, BindingBase, INotifyPropertyChanged)
供 Xamarin.Forms 平台內部使用。
public static void SetBinding<TNativeView> (TNativeView target, string targetProperty, Xamarin.Forms.BindingBase bindingBase, System.ComponentModel.INotifyPropertyChanged propertyChanged) where TNativeView : class;
static member SetBinding : 'NativeView * string * Xamarin.Forms.BindingBase * System.ComponentModel.INotifyPropertyChanged -> unit (requires 'NativeView : null)
類型參數
- TNativeView
供 Xamarin.Forms 平台內部使用。
參數
- target
- TNativeView
供 Xamarin.Forms 平台內部使用。
- targetProperty
- System.String
供 Xamarin.Forms 平台內部使用。
- bindingBase
- BindingBase
供 Xamarin.Forms 平台內部使用。
- propertyChanged
- System.ComponentModel.INotifyPropertyChanged
供 Xamarin.Forms 平台內部使用。
適用於
SetBinding<TNativeView>(TNativeView, String, BindingBase, String)
供 Xamarin.Forms 平台內部使用。
public static void SetBinding<TNativeView> (TNativeView target, string targetProperty, Xamarin.Forms.BindingBase bindingBase, string updateSourceEventName = default) where TNativeView : class;
static member SetBinding : 'NativeView * string * Xamarin.Forms.BindingBase * string -> unit (requires 'NativeView : null)
類型參數
- TNativeView
供 Xamarin.Forms 平台內部使用。
參數
- target
- TNativeView
供 Xamarin.Forms 平台內部使用。
- targetProperty
- System.String
供 Xamarin.Forms 平台內部使用。
- bindingBase
- BindingBase
供 Xamarin.Forms 平台內部使用。
- updateSourceEventName
- System.String
供 Xamarin.Forms 平台內部使用。