예제 #1
0
 public static void Transition(UIView fromView, UIView toView, double duration, UIViewAnimationOptions options, NSAction completion)
 {
     TransitionNotify (fromView, toView, duration, options, (x) => {
         if (completion != null)
             completion ();
     });
 }
예제 #2
0
 public static void ZoomFocusChanged(UIAccessibilityZoomType type, CGRect frame, UIView view)
 {
     UIAccessibilityZoomFocusChanged ((IntPtr) type, frame, view != null ? view.Handle : IntPtr.Zero);
 }
예제 #3
0
        public static UIBezierPath ConvertPathToScreenCoordinates(UIBezierPath path, UIView view)
        {
            if (path == null)
                throw new ArgumentNullException ("path");
            if (view == null)
                throw new ArgumentNullException ("view");

            return new UIBezierPath (UIAccessibilityConvertPathToScreenCoordinates (path.Handle, view.Handle));
        }
예제 #4
0
        public static CGRect ConvertFrameToScreenCoordinates(CGRect rect, UIView view)
        {
            if (view == null)
                throw new ArgumentNullException ("view");

            return UIAccessibilityConvertFrameToScreenCoordinates (rect, view.Handle);
        }
예제 #5
0
 public static void Transition(UIView withView, double duration, UIViewAnimationOptions options, NSAction animation, NSAction completion)
 {
     // animation null check will be done in AnimateNotify
     TransitionNotify (withView, duration, options, animation, (x) => {
         if (completion != null)
             completion ();
     });
 }
예제 #6
0
 public void Add(UIView view)
 {
     AddSubview (view);
 }
예제 #7
0
 public static void WillRepositionPopover(IUIPopoverPresentationControllerDelegate This, UIPopoverPresentationController popoverPresentationController, CGRect targetRect, UIView inView)
 {
 }
예제 #8
0
 public virtual void WillRepositionPopover(UIPopoverPresentationController popoverPresentationController, CGRect targetRect, UIView inView)
 {
 }
예제 #9
0
 public void Add(UIView view)
 {
     AddSubview(view);
 }
예제 #10
0
 public static void ZoomFocusChanged(UIAccessibilityZoomType type, CGRect frame, UIView view)
 {
     UIAccessibilityZoomFocusChanged((IntPtr)type, frame, view != null ? view.Handle : IntPtr.Zero);
 }