public static void TapGestureCallback(this MMDrawerController This, global::MonoTouch.UIKit.UITapGestureRecognizer tapGesture)
 {
     if (tapGesture == null)
     {
         throw new ArgumentNullException("tapGesture");
     }
     ApiDefinitions.Messaging.void_objc_msgSend_IntPtr(This.Handle, selTapGestureCallback_Handle, tapGesture.Handle);
 }
 public static bool GestureRecognizer(this MMDrawerController This, global::MonoTouch.UIKit.UIGestureRecognizer gestureRecognizer, global::MonoTouch.UIKit.UITouch touch)
 {
     if (gestureRecognizer == null)
     {
         throw new ArgumentNullException("gestureRecognizer");
     }
     if (touch == null)
     {
         throw new ArgumentNullException("touch");
     }
     return(ApiDefinitions.Messaging.bool_objc_msgSend_IntPtr_IntPtr(This.Handle, selGestureRecognizerShouldReceiveTouch_Handle, gestureRecognizer.Handle, touch.Handle));
 }
        public unsafe static void OpenDrawerSide(this MMDrawerController This, MMDrawerSide drawerSide, bool animated, float velocity, global::MonoTouch.UIKit.UIViewAnimationOptions options, [BlockProxy(typeof(MonoTouch.ObjCRuntime.Trampolines.NIDAction))] global::System.Action Completion)
        {
            if (Completion == null)
            {
                throw new ArgumentNullException("Completion");
            }
            BlockLiteral *block_ptr_Completion;
            BlockLiteral  block_Completion;

            block_Completion     = new BlockLiteral();
            block_ptr_Completion = &block_Completion;
            block_Completion.SetupBlock(Trampolines.SDAction.Handler, Completion);

            ApiDefinitions.Messaging.void_objc_msgSend_int_bool_float_int_IntPtr(This.Handle, selOpenDrawerSideAnimatedVelocityAnimationOptionsCompletion_Handle, (int)drawerSide, animated, velocity, (int)options, (IntPtr)block_ptr_Completion);
            block_ptr_Completion->CleanupBlock();
        }
Ejemplo n.º 4
0
		public Action DrawerAction(MMDrawerController.MMDrawerController drawerControler, MMDrawerSide drawSide, Single porcentVisible){
			//drawerControler.DrawerVisualStateBlock=mmex
			return null;
		}
Ejemplo n.º 5
0
 public Action DrawerAction(MMDrawerController.MMDrawerController drawerControler, MMDrawerSide drawSide, Single porcentVisible)
 {
     //drawerControler.DrawerVisualStateBlock=mmex
     return(null);
 }
 public static void WillRotateToInterfaceOrientation(this MMDrawerController This, global::MonoTouch.UIKit.UIInterfaceOrientation toInterfaceOrientation, global::System.Double duration)
 {
     ApiDefinitions.Messaging.void_objc_msgSend_int_Double(This.Handle, selWillRotateToInterfaceOrientationDuration_Handle, (int)toInterfaceOrientation, duration);
 }
 public static void PrepareToPresentDrawer(this MMDrawerController This, MMDrawerSide drawer, bool animated)
 {
     ApiDefinitions.Messaging.void_objc_msgSend_int_bool(This.Handle, selPrepareToPresentDrawerAnimated_Handle, (int)drawer, animated);
 }