IUIViewControllerPreviewing 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 UIViewControllerPreviewing.
[Foundation.Protocol(Name="UIViewControllerPreviewing", WrapperType=typeof(UIKit.UIViewControllerPreviewingWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="previewingGestureRecognizerForFailureRelationship", IsProperty=true, IsRequired=true, IsStatic=false, Name="PreviewingGestureRecognizerForFailureRelationship", PropertyType=typeof(UIKit.UIGestureRecognizer), Selector="previewingGestureRecognizerForFailureRelationship")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="delegate", IsProperty=true, IsRequired=true, IsStatic=false, Name="WeakDelegate", PropertyType=typeof(Foundation.NSObject), Selector="delegate")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="sourceView", IsProperty=true, IsRequired=true, IsStatic=false, Name="SourceView", PropertyType=typeof(UIKit.UIView), Selector="sourceView")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="sourceRect", IsProperty=true, IsRequired=true, IsStatic=false, Name="SourceRect", PropertyType=typeof(CoreGraphics.CGRect), Selector="sourceRect", SetterSelector="setSourceRect:")]
public interface IUIViewControllerPreviewing : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIViewControllerPreviewing", WrapperType=typeof(UIKit.UIViewControllerPreviewingWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="previewingGestureRecognizerForFailureRelationship", IsProperty=true, IsRequired=true, IsStatic=false, Name="PreviewingGestureRecognizerForFailureRelationship", PropertyType=typeof(UIKit.UIGestureRecognizer), Selector="previewingGestureRecognizerForFailureRelationship")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="delegate", IsProperty=true, IsRequired=true, IsStatic=false, Name="WeakDelegate", PropertyType=typeof(Foundation.NSObject), Selector="delegate")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="sourceView", IsProperty=true, IsRequired=true, IsStatic=false, Name="SourceView", PropertyType=typeof(UIKit.UIView), Selector="sourceView")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="sourceRect", IsProperty=true, IsRequired=true, IsStatic=false, Name="SourceRect", PropertyType=typeof(CoreGraphics.CGRect), Selector="sourceRect", SetterSelector="setSourceRect:")>]
type IUIViewControllerPreviewing = interface
interface INativeObject
interface IDisposable
- 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 |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| PreviewingGestureRecognizerForFailureRelationship |
Developers override this method to return a UIGestureRecognizer that can prevent the preview press from interfering with the app's other gesture recognizers. |
| SourceRect |
Developers override this method to return the section of their view that stays sharp while the surrounding content blurs. |
| SourceView |
Developers override this method to return the UIView that contains the SourceRect that stays sharp during the previewing press. |
| WeakDelegate |
A weak reference to an object that responds to the delegate protocol for this type. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |