NativeBindingHelpers.SetBindingContext<TNativeView> 方法

定义

供 Xamarin.Forms 平台内部使用。

public static void SetBindingContext<TNativeView>(TNativeView target, object bindingContext, Func<TNativeView,System.Collections.Generic.IEnumerable<TNativeView>> getChild = default) where TNativeView : class;
static member SetBindingContext : 'NativeView * obj * Func<'NativeView, seq<'NativeView> (requires 'NativeView : null)> -> unit (requires 'NativeView : null)

类型参数

TNativeView

供 Xamarin.Forms 平台内部使用。

参数

target
TNativeView

供 Xamarin.Forms 平台内部使用。

bindingContext
System.Object

供 Xamarin.Forms 平台内部使用。

getChild
System.Func<TNativeView,System.Collections.Generic.IEnumerable<TNativeView>>

供 Xamarin.Forms 平台内部使用。

适用于