67
73
<AssemblyVersion>0.0.0.0</AssemblyVersion>
77
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
70
81
<Parameter Name="t" Type="MonoMac.Foundation.NSObjectFlag" />
73
84
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
74
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
85
<summary>Constructor to call on derived classes when the derived class has an [Export] constructor.</summary>
76
<para>This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When you invoke the constructor that takes the NSObjectFlag.Empty you taking advatnage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to you.</para>
77
<para>This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.</para>
78
<para>It is your responsability to completely initialize the object if you chain up using the NSObjectFlag.Empty path.</para>
79
<para>In general, if your constructors invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, you should instead chain to the proper constructor in your class. </para>
80
<para>The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:</para>
87
<para>This constructor should be called by derived classes when they are initialized using an [Export] attribute. The argument value is ignore, typically the chaining would look like this:</para>
84
// The NSObjectFlag merely allocates the object and registers the
85
// C# class with the Objective-C runtime if necessary, but no actual
86
// initXxx method is invoked, that is done later in the constructor
88
// This is taken from MonoMac's source code:
90
[Export ("initWithFrame:")]
91
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
93
// Invoke the init method now.
94
var initWithFrame = new Selector ("initWithFrame:").Handle;
96
Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend_RectangleF (this.Handle, initWithFrame, frame);
98
Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_RectangleF (this.SuperHandle, initWithFrame, frame);
90
public class MyClass : BaseClass {
91
[Export ("initWithFoo:")]
92
public MyClass (string foo) : base (NSObjectFlag.Empty)
312
<Member MemberName="DraggedImageBeganAt">
313
<MemberSignature Language="C#" Value="public virtual void DraggedImageBeganAt (MonoMac.AppKit.NSImage image, System.Drawing.PointF screenPoint);" />
314
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DraggedImageBeganAt(class MonoMac.AppKit.NSImage image, valuetype System.Drawing.PointF screenPoint) cil managed" />
315
<MemberType>Method</MemberType>
317
<AssemblyVersion>0.0.0.0</AssemblyVersion>
321
<AttributeName>MonoMac.Foundation.Export("draggedImage:beganAt:")</AttributeName>
325
<ReturnType>System.Void</ReturnType>
328
<Parameter Name="image" Type="MonoMac.AppKit.NSImage" />
329
<Parameter Name="screenPoint" Type="System.Drawing.PointF" />
332
<param name="image">To be added.</param>
333
<param name="screenPoint">To be added.</param>
334
<summary>To be added.</summary>
335
<remarks>To be added.</remarks>
338
<Member MemberName="DraggedImageEndedAtDeposited">
339
<MemberSignature Language="C#" Value="public virtual void DraggedImageEndedAtDeposited (MonoMac.AppKit.NSImage image, System.Drawing.PointF screenPoint, bool deposited);" />
340
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DraggedImageEndedAtDeposited(class MonoMac.AppKit.NSImage image, valuetype System.Drawing.PointF screenPoint, bool deposited) cil managed" />
341
<MemberType>Method</MemberType>
343
<AssemblyVersion>0.0.0.0</AssemblyVersion>
347
<AttributeName>MonoMac.Foundation.Export("draggedImage:endedAt:deposited:")</AttributeName>
350
<AttributeName>System.Obsolete("On 10.1 and newer, use DraggedImageEndedAtOperation() instead", false)</AttributeName>
354
<ReturnType>System.Void</ReturnType>
357
<Parameter Name="image" Type="MonoMac.AppKit.NSImage" />
358
<Parameter Name="screenPoint" Type="System.Drawing.PointF" />
359
<Parameter Name="deposited" Type="System.Boolean" />
362
<param name="image">To be added.</param>
363
<param name="screenPoint">To be added.</param>
364
<param name="deposited">To be added.</param>
365
<summary>To be added.</summary>
366
<remarks>To be added.</remarks>
369
<Member MemberName="DraggedImageEndedAtOperation">
370
<MemberSignature Language="C#" Value="public virtual void DraggedImageEndedAtOperation (MonoMac.AppKit.NSImage image, System.Drawing.PointF screenPoint, MonoMac.AppKit.NSDragOperation operation);" />
371
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DraggedImageEndedAtOperation(class MonoMac.AppKit.NSImage image, valuetype System.Drawing.PointF screenPoint, valuetype MonoMac.AppKit.NSDragOperation operation) cil managed" />
372
<MemberType>Method</MemberType>
374
<AssemblyVersion>0.0.0.0</AssemblyVersion>
378
<AttributeName>MonoMac.Foundation.Export("draggedImage:endedAt:operation:")</AttributeName>
382
<ReturnType>System.Void</ReturnType>
385
<Parameter Name="image" Type="MonoMac.AppKit.NSImage" />
386
<Parameter Name="screenPoint" Type="System.Drawing.PointF" />
387
<Parameter Name="operation" Type="MonoMac.AppKit.NSDragOperation" />
390
<param name="image">To be added.</param>
391
<param name="screenPoint">To be added.</param>
392
<param name="operation">To be added.</param>
393
<summary>To be added.</summary>
394
<remarks>To be added.</remarks>
397
<Member MemberName="DraggedImageMovedTo">
398
<MemberSignature Language="C#" Value="public virtual void DraggedImageMovedTo (MonoMac.AppKit.NSImage image, System.Drawing.PointF screenPoint);" />
399
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DraggedImageMovedTo(class MonoMac.AppKit.NSImage image, valuetype System.Drawing.PointF screenPoint) cil managed" />
400
<MemberType>Method</MemberType>
402
<AssemblyVersion>0.0.0.0</AssemblyVersion>
406
<AttributeName>MonoMac.Foundation.Export("draggedImage:movedTo:")</AttributeName>
410
<ReturnType>System.Void</ReturnType>
413
<Parameter Name="image" Type="MonoMac.AppKit.NSImage" />
414
<Parameter Name="screenPoint" Type="System.Drawing.PointF" />
417
<param name="image">To be added.</param>
418
<param name="screenPoint">To be added.</param>
419
<summary>To be added.</summary>
420
<remarks>To be added.</remarks>
423
<Member MemberName="DraggingEnded">
424
<MemberSignature Language="C#" Value="public virtual void DraggingEnded (MonoMac.AppKit.NSDraggingInfo sender);" />
425
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DraggingEnded(class MonoMac.AppKit.NSDraggingInfo sender) cil managed" />
426
<MemberType>Method</MemberType>
428
<AssemblyVersion>0.0.0.0</AssemblyVersion>
432
<AttributeName>MonoMac.Foundation.Export("draggingEnded:")</AttributeName>
436
<ReturnType>System.Void</ReturnType>
439
<Parameter Name="sender" Type="MonoMac.AppKit.NSDraggingInfo" />
442
<param name="sender">To be added.</param>
443
<summary>To be added.</summary>
444
<remarks>To be added.</remarks>
447
<Member MemberName="DraggingEntered">
448
<MemberSignature Language="C#" Value="public virtual MonoMac.AppKit.NSDragOperation DraggingEntered (MonoMac.AppKit.NSDraggingInfo sender);" />
449
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype MonoMac.AppKit.NSDragOperation DraggingEntered(class MonoMac.AppKit.NSDraggingInfo sender) cil managed" />
450
<MemberType>Method</MemberType>
452
<AssemblyVersion>0.0.0.0</AssemblyVersion>
456
<AttributeName>MonoMac.Foundation.Export("draggingEntered:")</AttributeName>
460
<ReturnType>MonoMac.AppKit.NSDragOperation</ReturnType>
463
<Parameter Name="sender" Type="MonoMac.AppKit.NSDraggingInfo" />
466
<param name="sender">To be added.</param>
467
<summary>To be added.</summary>
468
<returns>To be added.</returns>
469
<remarks>To be added.</remarks>
472
<Member MemberName="DraggingExited">
473
<MemberSignature Language="C#" Value="public virtual void DraggingExited (MonoMac.AppKit.NSDraggingInfo sender);" />
474
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DraggingExited(class MonoMac.AppKit.NSDraggingInfo sender) cil managed" />
475
<MemberType>Method</MemberType>
477
<AssemblyVersion>0.0.0.0</AssemblyVersion>
481
<AttributeName>MonoMac.Foundation.Export("draggingExited:")</AttributeName>
485
<ReturnType>System.Void</ReturnType>
488
<Parameter Name="sender" Type="MonoMac.AppKit.NSDraggingInfo" />
491
<param name="sender">To be added.</param>
492
<summary>To be added.</summary>
493
<remarks>To be added.</remarks>
496
<Member MemberName="DraggingSourceOperationMaskForLocal">
497
<MemberSignature Language="C#" Value="public virtual MonoMac.AppKit.NSDragOperation DraggingSourceOperationMaskForLocal (bool flag);" />
498
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype MonoMac.AppKit.NSDragOperation DraggingSourceOperationMaskForLocal(bool flag) cil managed" />
499
<MemberType>Method</MemberType>
501
<AssemblyVersion>0.0.0.0</AssemblyVersion>
505
<AttributeName>MonoMac.Foundation.Export("draggingSourceOperationMaskForLocal:")</AttributeName>
509
<ReturnType>MonoMac.AppKit.NSDragOperation</ReturnType>
512
<Parameter Name="flag" Type="System.Boolean" />
515
<param name="flag">To be added.</param>
516
<summary>To be added.</summary>
517
<returns>To be added.</returns>
518
<remarks>To be added.</remarks>
521
<Member MemberName="DraggingUpdated">
522
<MemberSignature Language="C#" Value="public virtual MonoMac.AppKit.NSDragOperation DraggingUpdated (MonoMac.AppKit.NSDraggingInfo sender);" />
523
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype MonoMac.AppKit.NSDragOperation DraggingUpdated(class MonoMac.AppKit.NSDraggingInfo sender) cil managed" />
524
<MemberType>Method</MemberType>
526
<AssemblyVersion>0.0.0.0</AssemblyVersion>
530
<AttributeName>MonoMac.Foundation.Export("draggingUpdated:")</AttributeName>
534
<ReturnType>MonoMac.AppKit.NSDragOperation</ReturnType>
537
<Parameter Name="sender" Type="MonoMac.AppKit.NSDraggingInfo" />
540
<param name="sender">To be added.</param>
541
<summary>To be added.</summary>
542
<returns>To be added.</returns>
543
<remarks>To be added.</remarks>
281
546
<Member MemberName="FrameForItemAtIndex">
282
547
<MemberSignature Language="C#" Value="public virtual System.Drawing.RectangleF FrameForItemAtIndex (int index);" />
283
548
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.Drawing.RectangleF FrameForItemAtIndex(int32 index) cil managed" />
515
832
<remarks>To be added.</remarks>
835
<Member MemberName="PerformDragOperation">
836
<MemberSignature Language="C#" Value="public virtual bool PerformDragOperation (MonoMac.AppKit.NSDraggingInfo sender);" />
837
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool PerformDragOperation(class MonoMac.AppKit.NSDraggingInfo sender) cil managed" />
838
<MemberType>Method</MemberType>
840
<AssemblyVersion>0.0.0.0</AssemblyVersion>
844
<AttributeName>MonoMac.Foundation.Export("performDragOperation:")</AttributeName>
848
<ReturnType>System.Boolean</ReturnType>
851
<Parameter Name="sender" Type="MonoMac.AppKit.NSDraggingInfo" />
854
<param name="sender">To be added.</param>
855
<summary>To be added.</summary>
856
<returns>To be added.</returns>
857
<remarks>To be added.</remarks>
860
<Member MemberName="PrepareForDragOperation">
861
<MemberSignature Language="C#" Value="public virtual bool PrepareForDragOperation (MonoMac.AppKit.NSDraggingInfo sender);" />
862
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool PrepareForDragOperation(class MonoMac.AppKit.NSDraggingInfo sender) cil managed" />
863
<MemberType>Method</MemberType>
865
<AssemblyVersion>0.0.0.0</AssemblyVersion>
869
<AttributeName>MonoMac.Foundation.Export("prepareForDragOperation:")</AttributeName>
873
<ReturnType>System.Boolean</ReturnType>
876
<Parameter Name="sender" Type="MonoMac.AppKit.NSDraggingInfo" />
879
<param name="sender">To be added.</param>
880
<summary>To be added.</summary>
881
<returns>To be added.</returns>
882
<remarks>To be added.</remarks>
518
885
<Member MemberName="Selectable">
519
886
<MemberSignature Language="C#" Value="public virtual bool Selectable { get; set; }" />
520
887
<MemberSignature Language="ILAsm" Value=".property instance bool Selectable" />