18
18
<summary>Base class for animations.</summary>
20
<related type="sample" href="http://samples.xamarin.com/Samples/ByGuid?guid=109bd2a4-3437-4919-b556-3b44433ccc70">ViewTransitions</related>
21
<related type="sample" href="http://samples.xamarin.com/Samples/ByGuid?guid=afab3ce5-a98f-43d8-a981-c803ca8b9738">Example_CoreAnimation</related>
22
24
<Member MemberName=".ctor">
67
75
<AssemblyVersion>0.0.0.0</AssemblyVersion>
79
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
70
83
<Parameter Name="t" Type="MonoMac.Foundation.NSObjectFlag" />
73
86
<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>
87
<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>
89
<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);
92
public class MyClass : BaseClass {
93
[Export ("initWithFoo:")]
94
public MyClass (string foo) : base (NSObjectFlag.Empty)
131
134
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
134
<summary>To be added.</summary>
135
<value>To be added.</value>
137
<summary>Represents the value associated with the constant kCAAnimationDiscrete</summary>
136
140
<remarks>To be added.</remarks>
147
151
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
150
<summary>To be added.</summary>
151
<value>To be added.</value>
154
<summary>Represents the value associated with the constant kCAAnimationLinear</summary>
152
157
<remarks>To be added.</remarks>
163
168
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
166
<summary>To be added.</summary>
167
<value>To be added.</value>
171
<summary>Represents the value associated with the constant kCAAnimationPaced</summary>
168
174
<remarks>To be added.</remarks>
361
367
<summary>An instance of the MonoMac.CoreAnimation.CAAnimationDelegate model class which acts as the class delegate.</summary>
362
<value>The instance of the MonoMac.CoreAnimation.CAAnimationDelegate model class</value>
369
<para>The instance of the MonoMac.CoreAnimation.CAAnimationDelegate model class</para>
370
<para tool="nullallowed">This value can be <see langword="null" />.</para>
364
373
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
365
374
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>
408
417
<param name="disposing">
409
418
<para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources; If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
411
<summary>Releases the resourced used by the CAAnimation object.</summary>
420
<summary>Releases the resources used by the CAAnimation object.</summary>
413
422
<para>This Dispose method releases the resources used by the CAAnimation class.</para>
414
423
<para>This method is called by both the Dispose() method and the object finalizer (Finalize). When invoked by the Dispose method, the parameter disposting <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released; when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
548
557
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
551
<summary>To be added.</summary>
552
<value>To be added.</value>
560
<summary>Represents the value associated with the constant kCAAnimationRotateAuto</summary>
553
563
<remarks>To be added.</remarks>
564
574
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
567
<summary>To be added.</summary>
568
<value>To be added.</value>
577
<summary>Represents the value associated with the constant kCAAnimationRotateAutoReverse</summary>
569
580
<remarks>To be added.</remarks>
677
688
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
680
<summary>Constant: Transition fade.</summary>
681
<value>To be added.</value>
691
<summary>Represents the value associated with the constant kCATransitionFade</summary>
682
694
<remarks>To be added.</remarks>
693
705
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
696
<summary>Constant, transition from bottom</summary>
697
<value>To be added.</value>
708
<summary>Represents the value associated with the constant kCATransitionFromBottom</summary>
698
711
<remarks>To be added.</remarks>
709
722
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
712
<summary>Contant: transition from the left.</summary>
713
<value>To be added.</value>
725
<summary>Represents the value associated with the constant kCATransitionFromLeft</summary>
714
728
<remarks>To be added.</remarks>
725
739
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
728
<summary>Constant: transition from the right.</summary>
729
<value>To be added.</value>
742
<summary>Represents the value associated with the constant kCATransitionFromRight</summary>
730
745
<remarks>To be added.</remarks>
741
756
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
744
<summary>Constant: transition from the top.</summary>
745
<value>To be added.</value>
759
<summary>Represents the value associated with the constant kCATransitionFromTop</summary>
746
762
<remarks>To be added.</remarks>
757
773
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
760
<summary>Constant: transition by moving in.</summary>
761
<value>To be added.</value>
776
<summary>Represents the value associated with the constant kCATransitionMoveIn</summary>
762
779
<remarks>To be added.</remarks>
773
790
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
776
<summary>Constant: transition by pushing.</summary>
777
<value>To be added.</value>
793
<summary>Represents the value associated with the constant kCATransitionPush</summary>
778
796
<remarks>To be added.</remarks>
789
807
<ReturnType>MonoMac.Foundation.NSString</ReturnType>
792
<summary>Constant: transition by revealing.</summary>
793
<value>To be added.</value>
810
<summary>Represents the value associated with the constant kCATransitionReveal</summary>
794
813
<remarks>To be added.</remarks>
816
835
<summary>An object that can respond to the delegate protocol for this type</summary>
817
<value>The instance that will respond to events and data requests.</value>
837
<para>The instance that will respond to events and data requests.</para>
838
<para tool="nullallowed">This value can be <see langword="null" />.</para>
819
841
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
820
842
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>