iOS Guides | Samples

UIKit.UIPreviewAction Class

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

See Also: UIPreviewAction


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

Related content


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

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

ClassHandleIntPtr. The handle for this class.
HandlerUIPreviewHandler. Gets the peek action handler.
TitleString. Gets the title of the preview action.

Public Methods

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