Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
551 lines (550 sloc) 29.9 KB
<Type Name="UIPushBehavior" FullName="UIKit.UIPushBehavior">
<TypeSignature Language="C#" Value="public class UIPushBehavior : UIKit.UIDynamicBehavior" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UIPushBehavior extends UIKit.UIDynamicBehavior" />
<TypeSignature Language="DocId" Value="T:UIKit.UIPushBehavior" />
<TypeSignature Language="F#" Value="type UIPushBehavior = class&#xA; inherit UIDynamicBehavior" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>UIKit.UIDynamicBehavior</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("UIPushBehavior", true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Applies an instantaneous or continuous force vector to a <see cref="T:UIKit.IUIDynamicItem" />.</summary>
<remarks>
<para>The <see cref="M:UIKit.UIPushBehavior.SetTargetOffset(UIKit.UIOffset,UIKit.IUIDynamicItem)" /> method can be used so that the force vector is applied to a location other than the <see cref="P:UIKit.IUIDynamicItem.Center" /> location.</para>
<para>The unit used for force is the "UIKit Newton" which is defined as accelerating a (100,100)-sized view to 100 points / second^2. If the <see cref="P:UIKit.UIPushBehavior.Mode" /> is <see cref="F:UIKit.UIPushBehaviorMode.Instantaneous" />, the velocity of the <see cref="T:UIKit.IUIDynamicItem" /> changes immediately.</para>
<para>After an instaneous push is applied, the UI Dynamics engine sets the value of <see cref="P:UIKit.UIPushBehavior.Active" /> to <see langword="false" />.</para>
</remarks>
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIPushBehavior_Class/index.html">Apple documentation for <c>UIPushBehavior</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIPushBehavior ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("init")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Default constructor, initializes a new instance of this class.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected UIPushBehavior (Foundation.NSObjectFlag t);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Foundation.NSObjectFlag t) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.UIPushBehavior : Foundation.NSObjectFlag -&gt; UIKit.UIPushBehavior" Usage="new UIKit.UIPushBehavior t" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="t" Type="Foundation.NSObjectFlag" />
</Parameters>
<Docs>
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
<remarks>
<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 developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage 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 the developer.</para>
<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>
<para>It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.</para>
<para>In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class. </para>
<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>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
var initWithFrame = new Selector ("initWithFrame:").Handle;
if (IsDirectBinding)
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
else
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal UIPushBehavior (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.UIPushBehavior : nativeint -&gt; UIKit.UIPushBehavior" Usage="new UIKit.UIPushBehavior handle" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="handle" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="handle">Pointer (handle) to the unmanaged object.</param>
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
<remarks>
<para>This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIPushBehavior (UIKit.IUIDynamicItem[] items, UIKit.UIPushBehaviorMode mode);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class UIKit.IUIDynamicItem[] items, valuetype UIKit.UIPushBehaviorMode mode) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.#ctor(UIKit.IUIDynamicItem[],UIKit.UIPushBehaviorMode)" />
<MemberSignature Language="F#" Value="new UIKit.UIPushBehavior : UIKit.IUIDynamicItem[] * UIKit.UIPushBehaviorMode -&gt; UIKit.UIPushBehavior" Usage="new UIKit.UIPushBehavior (items, mode)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithItems:mode:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="items" Type="UIKit.IUIDynamicItem[]" />
<Parameter Name="mode" Type="UIKit.UIPushBehaviorMode" />
</Parameters>
<Docs>
<param name="items">To be added.</param>
<param name="mode">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIPushBehavior (UIKit.UIPushBehaviorMode mode, params UIKit.IUIDynamicItem[] items);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype UIKit.UIPushBehaviorMode mode, class UIKit.IUIDynamicItem[] items) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.#ctor(UIKit.UIPushBehaviorMode,UIKit.IUIDynamicItem[])" />
<MemberSignature Language="F#" Value="new UIKit.UIPushBehavior : UIKit.UIPushBehaviorMode * UIKit.IUIDynamicItem[] -&gt; UIKit.UIPushBehavior" Usage="new UIKit.UIPushBehavior (mode, items)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Parameters>
<Parameter Name="mode" Type="UIKit.UIPushBehaviorMode" />
<Parameter Name="items" Type="UIKit.IUIDynamicItem[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="mode">To be added.</param>
<param name="items">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Active">
<MemberSignature Language="C#" Value="public virtual bool Active { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Active" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPushBehavior.Active" />
<MemberSignature Language="F#" Value="member this.Active : bool with get, set" Usage="UIKit.UIPushBehavior.Active" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("active")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setActive:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether the UIPushBehavior is active.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddItem">
<MemberSignature Language="C#" Value="public virtual void AddItem (UIKit.IUIDynamicItem dynamicItem);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddItem(class UIKit.IUIDynamicItem dynamicItem) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.AddItem(UIKit.IUIDynamicItem)" />
<MemberSignature Language="F#" Value="abstract member AddItem : UIKit.IUIDynamicItem -&gt; unit&#xA;override this.AddItem : UIKit.IUIDynamicItem -&gt; unit" Usage="uIPushBehavior.AddItem dynamicItem" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("addItem:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dynamicItem" Type="UIKit.IUIDynamicItem" />
</Parameters>
<Docs>
<param name="dynamicItem">To be added.</param>
<summary>Adds the specified dynamic item to this UIPushBehavior's Items.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Angle">
<MemberSignature Language="C#" Value="public virtual nfloat Angle { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nfloat Angle" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPushBehavior.Angle" />
<MemberSignature Language="F#" Value="member this.Angle : nfloat with get, set" Usage="UIKit.UIPushBehavior.Angle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("angle")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setAngle:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Docs>
<summary>The angle, in radians, of the force vector for this UIPushBehavior.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClassHandle">
<MemberSignature Language="C#" Value="public override IntPtr ClassHandle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ClassHandle" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPushBehavior.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="UIKit.UIPushBehavior.ClassHandle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>The handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>Each Xamarin.iOS class mirrors an unmanaged Objective-C class. This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.</remarks>
</Docs>
</Member>
<Member MemberName="GetTargetOffsetFromCenter">
<MemberSignature Language="C#" Value="public virtual UIKit.UIOffset GetTargetOffsetFromCenter (UIKit.IUIDynamicItem item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype UIKit.UIOffset GetTargetOffsetFromCenter(class UIKit.IUIDynamicItem item) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.GetTargetOffsetFromCenter(UIKit.IUIDynamicItem)" />
<MemberSignature Language="F#" Value="abstract member GetTargetOffsetFromCenter : UIKit.IUIDynamicItem -&gt; UIKit.UIOffset&#xA;override this.GetTargetOffsetFromCenter : UIKit.IUIDynamicItem -&gt; UIKit.UIOffset" Usage="uIPushBehavior.GetTargetOffsetFromCenter item" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("targetOffsetFromCenterForItem:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIOffset</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="UIKit.IUIDynamicItem" />
</Parameters>
<Docs>
<param name="item">To be added.</param>
<summary>The offset from the center of the dynamic item at which the force vector is applied.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Items">
<MemberSignature Language="C#" Value="public virtual UIKit.IUIDynamicItem[] Items { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.IUIDynamicItem[] Items" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPushBehavior.Items" />
<MemberSignature Language="F#" Value="member this.Items : UIKit.IUIDynamicItem[]" Usage="UIKit.UIPushBehavior.Items" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("items", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.IUIDynamicItem[]</ReturnType>
</ReturnValue>
<Docs>
<summary>The dynamic items associated with this UIPushBehavior. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Magnitude">
<MemberSignature Language="C#" Value="public virtual nfloat Magnitude { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nfloat Magnitude" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPushBehavior.Magnitude" />
<MemberSignature Language="F#" Value="member this.Magnitude : nfloat with get, set" Usage="UIKit.UIPushBehavior.Magnitude" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("magnitude")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setMagnitude:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Docs>
<summary>The magnitude of the force vector for this UIPushBehavior.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Mode">
<MemberSignature Language="C#" Value="public virtual UIKit.UIPushBehaviorMode Mode { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype UIKit.UIPushBehaviorMode Mode" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPushBehavior.Mode" />
<MemberSignature Language="F#" Value="member this.Mode : UIKit.UIPushBehaviorMode" Usage="UIKit.UIPushBehavior.Mode" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("mode")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIPushBehaviorMode</ReturnType>
</ReturnValue>
<Docs>
<summary>The force mode for this UIPushBehavior. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PushDirection">
<MemberSignature Language="C#" Value="public virtual CoreGraphics.CGVector PushDirection { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype CoreGraphics.CGVector PushDirection" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPushBehavior.PushDirection" />
<MemberSignature Language="F#" Value="member this.PushDirection : CoreGraphics.CGVector with get, set" Usage="UIKit.UIPushBehavior.PushDirection" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("pushDirection")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setPushDirection:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>CoreGraphics.CGVector</ReturnType>
</ReturnValue>
<Docs>
<summary>The direction of the force vector for this UIPushBehavior, expressed as x and y components and using UIKit geometry.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveItem">
<MemberSignature Language="C#" Value="public virtual void RemoveItem (UIKit.IUIDynamicItem dynamicItem);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveItem(class UIKit.IUIDynamicItem dynamicItem) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.RemoveItem(UIKit.IUIDynamicItem)" />
<MemberSignature Language="F#" Value="abstract member RemoveItem : UIKit.IUIDynamicItem -&gt; unit&#xA;override this.RemoveItem : UIKit.IUIDynamicItem -&gt; unit" Usage="uIPushBehavior.RemoveItem dynamicItem" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("removeItem:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dynamicItem" Type="UIKit.IUIDynamicItem" />
</Parameters>
<Docs>
<param name="dynamicItem">To be added.</param>
<summary>Removes the specified dynamic item from this UIPushBehavior's Items.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetAngleAndMagnitude">
<MemberSignature Language="C#" Value="public virtual void SetAngleAndMagnitude (nfloat angle, nfloat magnitude);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetAngleAndMagnitude(valuetype System.nfloat angle, valuetype System.nfloat magnitude) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.SetAngleAndMagnitude(System.nfloat,System.nfloat)" />
<MemberSignature Language="F#" Value="abstract member SetAngleAndMagnitude : nfloat * nfloat -&gt; unit&#xA;override this.SetAngleAndMagnitude : nfloat * nfloat -&gt; unit" Usage="uIPushBehavior.SetAngleAndMagnitude (angle, magnitude)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("setAngle:magnitude:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="angle" Type="System.nfloat" />
<Parameter Name="magnitude" Type="System.nfloat" />
</Parameters>
<Docs>
<param name="angle">To be added.</param>
<param name="magnitude">To be added.</param>
<summary>Specifies the angle, in radians, and magnitude of the force vector for this UIPushBehavior.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetTargetOffset">
<MemberSignature Language="C#" Value="public virtual void SetTargetOffset (UIKit.UIOffset offset, UIKit.IUIDynamicItem item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetTargetOffset(valuetype UIKit.UIOffset offset, class UIKit.IUIDynamicItem item) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPushBehavior.SetTargetOffset(UIKit.UIOffset,UIKit.IUIDynamicItem)" />
<MemberSignature Language="F#" Value="abstract member SetTargetOffset : UIKit.UIOffset * UIKit.IUIDynamicItem -&gt; unit&#xA;override this.SetTargetOffset : UIKit.UIOffset * UIKit.IUIDynamicItem -&gt; unit" Usage="uIPushBehavior.SetTargetOffset (offset, item)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("setTargetOffsetFromCenter:forItem:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="offset" Type="UIKit.UIOffset" />
<Parameter Name="item" Type="UIKit.IUIDynamicItem" />
</Parameters>
<Docs>
<param name="offset">To be added.</param>
<param name="item">To be added.</param>
<summary>Specifies an offset from the center of the dynamic item at which to apply the force vector.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.