iOS Guides | Samples

QuickLook.QLPreviewController Class

A UIViewController that manages the user experience of previewing an item.

See Also: QLPreviewController


[Foundation.Register("QLPreviewController", true)]
public class QLPreviewController : UIViewController

Related content


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

The members of QuickLook.QLPreviewController are listed below.

See Also: UIViewController

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Creates a new Quick Look preview controller from the specified NIB name in the specified bundle.

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.
CurrentPreviewItemIQLPreviewItem. Gets the currently previewed item.
CurrentPreviewItemIndexnint. Gets or sets the index of the item to display.
DataSourceIQLPreviewControllerDataSource. Gets or sets the data source that contains the items to preview.
DelegateIQLPreviewControllerDelegate. An instance of the QuickLook.IQLPreviewControllerDelegate model class which acts as the class delegate.
FrameForPreviewItemQLFrame. Delegate invoked by the object to get a value.
ShouldOpenUrlQLOpenUrl. Delegate invoked by the object to get a value.
TransitionImageForPreviewItemQLTransition. Delegate invoked by the object to get a value.
TransitionViewForPreviewItemQLTransitionView. Delegate invoked by the object to get a value.
WeakDataSourceNSObject. Gets or sets a weak reference to the data source.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

CanPreviewItem(IQLPreviewItem) : Boolean
Returns a Boolean value that tells whether the controller can show a preview of the specified item.
Recomputes the display of the current preview item.
Reloads the data from the data source.

Protected Methods

Releases the resources used by the QLPreviewController object.

Public Events

DidDismissEvent raised by the object.
WillDismissEvent raised by the object.