UIDragPreview.GetPreview Method
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.
Overloads
GetPreview(NSUrl) |
Creates and returns a drag preview for the resource at the specified URL. |
GetPreview(NSUrl, String) |
Creates and returns a drag preview with the specified title for the resource at the specified URL. |
GetPreview(NSUrl)
Creates and returns a drag preview for the resource at the specified URL.
[Foundation.Export("previewForURL:")]
public static UIKit.UIDragPreview GetPreview (Foundation.NSUrl url);
static member GetPreview : Foundation.NSUrl -> UIKit.UIDragPreview
Parameters
- url
- NSUrl
The location of the resource.
Returns
- Attributes
Applies to
GetPreview(NSUrl, String)
Creates and returns a drag preview with the specified title for the resource at the specified URL.
[Foundation.Export("previewForURL:title:")]
public static UIKit.UIDragPreview GetPreview (Foundation.NSUrl url, string title);
static member GetPreview : Foundation.NSUrl * string -> UIKit.UIDragPreview
Parameters
- url
- NSUrl
The location of the resource.
Returns
- Attributes