iOS Guides | Samples

QuickLook.QLPreviewController Class

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

See Also: QLPreviewController

Syntax

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

Related content

Requirements

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

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

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
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

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

Protected Methods

override
Dispose(Boolean)
Releases the resources used by the QLPreviewController object.

Public Events

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