IUIViewControllerContextTransitioning Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol UIViewControllerContextTransitioning.
[Foundation.Protocol(Name="UIViewControllerContextTransitioning", WrapperType=typeof(UIKit.UIViewControllerContextTransitioningWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateInteractiveTransition", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat) }, Selector="updateInteractiveTransition:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishInteractiveTransition", Selector="finishInteractiveTransition")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CancelInteractiveTransition", Selector="cancelInteractiveTransition")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CompleteTransition", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Boolean) }, Selector="completeTransition:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewControllerForKey", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(UIKit.UIViewController), Selector="viewControllerForKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetInitialFrameForViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIViewController) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="initialFrameForViewController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetFinalFrameForViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIViewController) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="finalFrameForViewController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewFor", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(UIKit.UIView), Selector="viewForKey:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PauseInteractiveTransition", Selector="pauseInteractiveTransition")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="containerView", IsProperty=true, IsRequired=true, IsStatic=false, Name="ContainerView", PropertyType=typeof(UIKit.UIView), Selector="containerView")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnimated", IsProperty=true, IsRequired=true, IsStatic=false, Name="IsAnimated", PropertyType=typeof(System.Boolean), Selector="isAnimated")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isInteractive", IsProperty=true, IsRequired=true, IsStatic=false, Name="IsInteractive", PropertyType=typeof(System.Boolean), Selector="isInteractive")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="transitionWasCancelled", IsProperty=true, IsRequired=true, IsStatic=false, Name="TransitionWasCancelled", PropertyType=typeof(System.Boolean), Selector="transitionWasCancelled")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="presentationStyle", IsProperty=true, IsRequired=true, IsStatic=false, Name="PresentationStyle", PropertyType=typeof(UIKit.UIModalPresentationStyle), Selector="presentationStyle")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="targetTransform", IsProperty=true, IsRequired=true, IsStatic=false, Name="TargetTransform", PropertyType=typeof(CoreGraphics.CGAffineTransform), Selector="targetTransform")]
public interface IUIViewControllerContextTransitioning : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIViewControllerContextTransitioning", WrapperType=typeof(UIKit.UIViewControllerContextTransitioningWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateInteractiveTransition", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat) }, Selector="updateInteractiveTransition:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishInteractiveTransition", Selector="finishInteractiveTransition")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CancelInteractiveTransition", Selector="cancelInteractiveTransition")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CompleteTransition", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Boolean) }, Selector="completeTransition:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewControllerForKey", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(UIKit.UIViewController), Selector="viewControllerForKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetInitialFrameForViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIViewController) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="initialFrameForViewController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetFinalFrameForViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIViewController) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="finalFrameForViewController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewFor", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString) }, ReturnType=typeof(UIKit.UIView), Selector="viewForKey:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PauseInteractiveTransition", Selector="pauseInteractiveTransition")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="containerView", IsProperty=true, IsRequired=true, IsStatic=false, Name="ContainerView", PropertyType=typeof(UIKit.UIView), Selector="containerView")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnimated", IsProperty=true, IsRequired=true, IsStatic=false, Name="IsAnimated", PropertyType=typeof(System.Boolean), Selector="isAnimated")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isInteractive", IsProperty=true, IsRequired=true, IsStatic=false, Name="IsInteractive", PropertyType=typeof(System.Boolean), Selector="isInteractive")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="transitionWasCancelled", IsProperty=true, IsRequired=true, IsStatic=false, Name="TransitionWasCancelled", PropertyType=typeof(System.Boolean), Selector="transitionWasCancelled")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="presentationStyle", IsProperty=true, IsRequired=true, IsStatic=false, Name="PresentationStyle", PropertyType=typeof(UIKit.UIModalPresentationStyle), Selector="presentationStyle")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="targetTransform", IsProperty=true, IsRequired=true, IsStatic=false, Name="TargetTransform", PropertyType=typeof(CoreGraphics.CGAffineTransform), Selector="targetTransform")>]
type IUIViewControllerContextTransitioning = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| ContainerView |
The UIView that is the superview of the UIView's involved in the transition. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| IsAnimated |
Whether the transition is animated. |
| IsInteractive |
Whether the transition is interactive. |
| PresentationStyle |
The presentation style of the transition. |
| TargetTransform |
Gets the transform that indicates the angle of the rotation that is applied during the transition. |
| TransitionWasCancelled |
Whether the transition was cancelled. |
Methods
| Name | Description |
|---|---|
| CancelInteractiveTransition() |
Indicates that a user action canceled the transition. |
| CompleteTransition(Boolean) |
Indicates the transition animation has completed. |
| FinishInteractiveTransition() |
User interactions have signaled the end of the transition. |
| GetFinalFrameForViewController(UIViewController) |
The ending RectangleF for the Frame of the specified UIViewController's UIView. |
| GetInitialFrameForViewController(UIViewController) |
The beginning RectangleF for the Frame of the specified UIViewController's UIView. |
| GetViewControllerForKey(NSString) |
Retrieves the UIViewController associated with the specified uiTransitionKey. |
| GetViewFor(NSString) |
Returns the to- or from-key for the transition. |
| PauseInteractiveTransition() |
Pauses the animations. |
| UpdateInteractiveTransition(NFloat) |
Updates the completion percentage of the transition. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |