iOS Guides | Samples

UIKit.UIPreviewAction Class

A peek quick action, which appears when a user swipes a peek upward.

See Also: UIPreviewAction

Syntax

[Foundation.Register("UIPreviewAction", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public class UIPreviewAction : NSObject, INSCopying, IUIPreviewActionItem, IDisposable

Related content

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIPreviewAction are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
HandlerUIPreviewHandler. Gets the peek action handler.
[read-only]
TitleString. Gets the title of the preview action.

Public Methods

Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
static
Create(String, UIPreviewActionStyle, UIPreviewHandler) : UIPreviewAction
Creates and returns a new preview action with the specified values.