コード例 #1
0
 public NativeViewWrapper(UIView nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
 {
     GetDesiredSizeDelegate = getDesiredSizeDelegate;
     SizeThatFitsDelegate   = sizeThatFitsDelegate;
     LayoutSubViews         = layoutSubViews;
     NativeView             = nativeView;
 }
コード例 #2
0
		public NativeViewWrapper(FrameworkElement nativeElement, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
								 MeasureOverrideDelegate measureOverrideDelegate = null)
		{
			GetDesiredSizeDelegate = getDesiredSizeDelegate;
			ArrangeOverrideDelegate = arrangeOverrideDelegate;
			MeasureOverrideDelegate = measureOverrideDelegate;
			NativeElement = nativeElement;
		}
コード例 #3
0
 public NativeViewWrapper(FrameworkElement nativeElement, GetDesiredSizeDelegate getDesiredSizeDelegate = null, ArrangeOverrideDelegate arrangeOverrideDelegate = null,
                          MeasureOverrideDelegate measureOverrideDelegate = null)
 {
     GetDesiredSizeDelegate  = getDesiredSizeDelegate;
     ArrangeOverrideDelegate = arrangeOverrideDelegate;
     MeasureOverrideDelegate = measureOverrideDelegate;
     NativeElement           = nativeElement;
 }
コード例 #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;
 }
コード例 #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;
		}
コード例 #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);
 }
コード例 #7
0
        public NativeViewWrapper(UIView nativeView, GetDesiredSizeDelegate getDesiredSizeDelegate = null, SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
        {
            GetDesiredSizeDelegate = getDesiredSizeDelegate;
            SizeThatFitsDelegate   = sizeThatFitsDelegate;
            LayoutSubViews         = layoutSubViews;
            NativeView             = nativeView;

            nativeView.TransferbindablePropertiesToWrapper(this);
        }
コード例 #8
0
ファイル: NativeViewWrapper.cs プロジェクト: zhamppx97/maui
        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);
        }
コード例 #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));
 }
コード例 #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));
 }
コード例 #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);
		}
コード例 #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);
		}
コード例 #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);
		}
コード例 #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));
		}
コード例 #15
0
ファイル: LayoutExtensions.cs プロジェクト: zmtzawqlp/maui
 public static View ToView(this AView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null, OnLayoutDelegate onLayoutDelegate = null, OnMeasureDelegate onMeasureDelegate = null)
 {
     return(new NativeViewWrapper(view, getDesiredSizeDelegate, onLayoutDelegate, onMeasureDelegate));
 }
コード例 #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));
		}
コード例 #17
0
ファイル: LayoutExtensions.cs プロジェクト: sung-su/maui
 public static View ToView(this UIView view, GetDesiredSizeDelegate getDesiredSizeDelegate = null,
                           SizeThatFitsDelegate sizeThatFitsDelegate = null, LayoutSubviewsDelegate layoutSubViews = null)
 {
     return(new NativeViewWrapper(view, getDesiredSizeDelegate, sizeThatFitsDelegate, layoutSubViews));
 }
コード例 #18
0
ファイル: LayoutExtensions.cs プロジェクト: sung-su/maui
 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));
 }
コード例 #19
0
ファイル: LayoutExtensions.cs プロジェクト: zmtzawqlp/maui
 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));
 }
コード例 #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));
		}