public bool DragColor( Color aColor, Event aEvent, View aView ) { return (bool) ObjCMessaging.objc_msgSend(NativeObject, "dragColor:withEvent:fromView:", typeof (System.Boolean), // return value typeof (IntPtr), aColor.NativeObject, // dragColor: typeof (IntPtr), aEvent.NativeObject, // withEvent: typeof (IntPtr), aView.NativeObject ); // fromView: }
public void InvalidateCursorRectsForView( View aView ) { ObjCMessaging.objc_msgSend (NativeObject, "invalidateCursorRectsForView:", typeof (void), typeof (IntPtr), aView.NativeObject); }
/// <summary> /// /// </summary> /// <param name"aPoint"></param> /// <oaran name="aView"></param> /// <return></return> public Point ConvertPointFromView( Point aPoint, View aView ) { return (Point)ObjCMessaging.objc_msgSend ( NativeObject, "convertPoint:fromView:", typeof (Point), // return value type typeof (Point), aPoint, // 1st arg typeof (IntPtr), aView.NativeObject ); // 2nd arg }
public void AddSubview(View view) { ObjCMessaging.objc_msgSend (NativeObject, "addSubview:", typeof (void), typeof (IntPtr), view.NativeObject); }