コード例 #1
0
 public MockAndroidViewWrapper(MockAndroidView nativeView)
 {
     NativeView = nativeView;
     nativeView.TransferbindablePropertiesToWrapper(this);
 }
コード例 #2
0
 public static void SetBindingContext(this MockAndroidView target, object bindingContext, Func <MockAndroidView, IEnumerable <MockAndroidView> > getChild = null)
 {
     NativeBindingHelpers.SetBindingContext(target, bindingContext, getChild);
 }
コード例 #3
0
 internal static void TransferbindablePropertiesToWrapper(this MockAndroidView target, MockAndroidViewWrapper wrapper)
 {
     NativeBindingHelpers.TransferBindablePropertiesToWrapper(target, wrapper);
 }
コード例 #4
0
 public static void SetValue(this MockAndroidView target, BindableProperty targetProperty, object value)
 {
     NativeBindingHelpers.SetValue(target, targetProperty, value);
 }
コード例 #5
0
 public static void SetBinding(this MockAndroidView target, BindableProperty targetProperty, BindingBase binding)
 {
     NativeBindingHelpers.SetBinding(target, targetProperty, binding);
 }
コード例 #6
0
 internal static void SetBinding(this MockAndroidView target, string targetProperty, BindingBase binding, INotifyPropertyChanged propertyChanged)
 {
     NativeBindingHelpers.SetBinding(target, targetProperty, binding, propertyChanged);
 }
コード例 #7
0
 public static void SetBinding(this MockAndroidView target, string targetProperty, BindingBase binding, string updateSourceEventName = null)
 {
     NativeBindingHelpers.SetBinding(target, targetProperty, binding, updateSourceEventName);
 }
コード例 #8
0
 public static View ToView(this MockAndroidView nativeView)
 {
     return(new MockAndroidViewWrapper(nativeView));
 }