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