public NativeViewWrapper(UIView nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
 {
     GetDesiredSizeDelegate = getDesiredSizeDelegate;
     SizeThatFitsDelegate   = sizeThatFitsDelegate;
     LayoutSubViews         = layoutSubViews;
     NativeView             = nativeView;
 }
		public NativeViewWrapper(FrameworkElement nativeElement, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
								 MeasureOverrideDelegate measureOverrideDelegate = null)
		{
			GetDesiredSizeDelegate = getDesiredSizeDelegate;
			ArrangeOverrideDelegate = arrangeOverrideDelegate;
			MeasureOverrideDelegate = measureOverrideDelegate;
			NativeElement = nativeElement;
		}
Exemple #3
0
 public NativeViewWrapper(FrameworkElement nativeElement, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
                          MeasureOverrideDelegate measureOverrideDelegate = null)
 {
     GetDesiredSizeDelegate  = getDesiredSizeDelegate;
     ArrangeOverrideDelegate = arrangeOverrideDelegate;
     MeasureOverrideDelegate = measureOverrideDelegate;
     NativeElement           = nativeElement;
 }
 public NativeViewWrapper(global::Android.Views.View nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null,
                          OnMeasureDelegate onMeasureDelegate = null)
 {
     GetDesiredSizeDelegate = getDesiredSizeDelegate;
     NativeView             = nativeView;
     OnLayoutDelegate       = onLayoutDelegate;
     OnMeasureDelegate      = onMeasureDelegate;
 }
		public NativeViewWrapper(global::Android.Views.View nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null,
								 OnMeasureDelegate onMeasureDelegate = null)
		{
			GetDesiredSizeDelegate = getDesiredSizeDelegate;
			NativeView = nativeView;
			OnLayoutDelegate = onLayoutDelegate;
			OnMeasureDelegate = onMeasureDelegate;
		}
 public NativeViewWrapper(FrameworkElement nativeElement, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
                          MeasureOverrideDelegate measureOverrideDelegate = null)
 {
     GetDesiredSizeDelegate  = getDesiredSizeDelegate;
     ArrangeOverrideDelegate = arrangeOverrideDelegate;
     MeasureOverrideDelegate = measureOverrideDelegate;
     NativeElement           = nativeElement;
     nativeElement.TransferbindablePropertiesToWrapper(this);
 }
        public NativeViewWrapper(UIView nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
        {
            GetDesiredSizeDelegate = getDesiredSizeDelegate;
            SizeThatFitsDelegate   = sizeThatFitsDelegate;
            LayoutSubViews         = layoutSubViews;
            NativeView             = nativeView;

            nativeView.TransferbindablePropertiesToWrapper(this);
        }
Exemple #8
0
        public NativeViewWrapper(global::Android.Views.View nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null,
                                 OnMeasureDelegate onMeasureDelegate = null)
        {
            GetDesiredSizeDelegate = getDesiredSizeDelegate;
            NativeView             = nativeView;
            OnLayoutDelegate       = onLayoutDelegate;
            OnMeasureDelegate      = onMeasureDelegate;

            nativeView.TransferBindablePropertiesToWrapper(this);
        }
 public static View ToView(this FrameworkElement view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
                           MeasureOverrideDelegate measureOverrideDelegate = null)
 {
     return(new NativeViewWrapper(view, getDesiredSizeDelegate, arrangeOverrideDelegate, measureOverrideDelegate));
 }
 public static void Add(this IList <View> children, FrameworkElement view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
                        MeasureOverrideDelegate measureOverrideDelegate = null)
 {
     children.Add(view.ToView(getDesiredSizeDelegate, arrangeOverrideDelegate, measureOverrideDelegate));
 }
		public static View ToView(this UIView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
		{
			return new NativeViewWrapper(view, getDesiredSizeDelegate, sizeThatFitsDelegate, layoutSubViews);
		}
		public static View ToView(this FrameworkElement view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
								  MeasureOverrideDelegate measureOverrideDelegate = null)
		{
			return new NativeViewWrapper(view, getDesiredSizeDelegate, arrangeOverrideDelegate, measureOverrideDelegate);
		}
		public static View ToView(this AView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null, OnMeasureDelegate onMeasureDelegate = null)
		{
			return new NativeViewWrapper(view, getDesiredSizeDelegate, onLayoutDelegate, onMeasureDelegate);
		}
		public static void Add(this IList<View> children, UIView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null,
							   LayoutSubviewsDelegate layoutSubViews = null)
		{
			children.Add(view.ToView(getDesiredSizeDelegate, sizeThatFitsDelegate, layoutSubViews));
		}
Exemple #15
0
 public static View ToView(this AView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null, OnMeasureDelegate onMeasureDelegate = null)
 {
     return(new NativeViewWrapper(view, getDesiredSizeDelegate, onLayoutDelegate, onMeasureDelegate));
 }
		public static void Add(this IList<View> children, AView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null,
							   OnMeasureDelegate onMeasureDelegate = null)
		{
			children.Add(view.ToView(getDesiredSizeDelegate, onLayoutDelegate, onMeasureDelegate));
		}
Exemple #17
0
 public static View ToView(this UIView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null,
                           SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
 {
     return(new NativeViewWrapper(view, getDesiredSizeDelegate, sizeThatFitsDelegate, layoutSubViews));
 }
Exemple #18
0
 public static void Add(this IList <View> children, UIView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null,
                        SizeThatFitsDelegate sizeThatFitsDelegate = null,
                        LayoutSubviewsDelegate layoutSubViews     = null)
 {
     children.Add(view.ToView(getDesiredSizeDelegate, sizeThatFitsDelegate, layoutSubViews));
 }
Exemple #19
0
 public static void Add(this IList <View> children, AView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null,
                        OnMeasureDelegate onMeasureDelegate = null)
 {
     children.Add(view.ToView(getDesiredSizeDelegate, onLayoutDelegate, onMeasureDelegate));
 }
		public static void Add(this IList<View> children, FrameworkElement view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
							   MeasureOverrideDelegate measureOverrideDelegate = null)
		{
			children.Add(view.ToView(getDesiredSizeDelegate, arrangeOverrideDelegate, measureOverrideDelegate));
		}