Ejemplo n.º 1
0
 public NativeViewWrapper(UIView nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
 {
     GetDesiredSizeDelegate = getDesiredSizeDelegate;
     SizeThatFitsDelegate   = sizeThatFitsDelegate;
     LayoutSubViews         = layoutSubViews;
     NativeView             = nativeView;
 }
Ejemplo n.º 2
0
		public NativeViewWrapper(FrameworkElement nativeElement, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
								 MeasureOverrideDelegate measureOverrideDelegate = null)
		{
			GetDesiredSizeDelegate = getDesiredSizeDelegate;
			ArrangeOverrideDelegate = arrangeOverrideDelegate;
			MeasureOverrideDelegate = measureOverrideDelegate;
			NativeElement = nativeElement;
		}
Ejemplo n.º 3
0
 public NativeViewWrapper(FrameworkElement nativeElement, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
                          MeasureOverrideDelegate measureOverrideDelegate = null)
 {
     GetDesiredSizeDelegate  = getDesiredSizeDelegate;
     ArrangeOverrideDelegate = arrangeOverrideDelegate;
     MeasureOverrideDelegate = measureOverrideDelegate;
     NativeElement           = nativeElement;
 }
Ejemplo n.º 4
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;
 }
Ejemplo n.º 5
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;
		}
Ejemplo n.º 6
0
 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 9
0
 public static View ToView(this FrameworkElement view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
                           MeasureOverrideDelegate measureOverrideDelegate = null)
 {
     return(new NativeViewWrapper(view, getDesiredSizeDelegate, arrangeOverrideDelegate, measureOverrideDelegate));
 }
Ejemplo n.º 10
0
 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));
 }
Ejemplo n.º 11
0
		public static View ToView(this UIView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
		{
			return new NativeViewWrapper(view, getDesiredSizeDelegate, sizeThatFitsDelegate, layoutSubViews);
		}
Ejemplo n.º 12
0
		public static View ToView(this FrameworkElement view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
								  MeasureOverrideDelegate measureOverrideDelegate = null)
		{
			return new NativeViewWrapper(view, getDesiredSizeDelegate, arrangeOverrideDelegate, measureOverrideDelegate);
		}
Ejemplo n.º 13
0
		public static View ToView(this AView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null, OnMeasureDelegate onMeasureDelegate = null)
		{
			return new NativeViewWrapper(view, getDesiredSizeDelegate, onLayoutDelegate, onMeasureDelegate);
		}
Ejemplo n.º 14
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));
		}
Ejemplo n.º 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));
 }
Ejemplo n.º 16
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));
		}
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 20
0
		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));
		}