UITargetedDragPreview.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, UIDragPreviewTarget) |
Creates and returns a new targeted drag item preview from the specified url and preview target. |
GetPreview(NSUrl, String, UIDragPreviewTarget) |
Creates and returns a new targeted drag item preview from the specified url, title, and preview target. |
GetPreview(NSUrl, UIDragPreviewTarget)
Creates and returns a new targeted drag item preview from the specified url and preview target.
[Foundation.Export("previewForURL:target:")]
public static UIKit.UITargetedDragPreview GetPreview (Foundation.NSUrl url, UIKit.UIDragPreviewTarget target);
static member GetPreview : Foundation.NSUrl * UIKit.UIDragPreviewTarget -> UIKit.UITargetedDragPreview
Parameters
- url
- NSUrl
The location of the resource for which to get a preview.
- target
- UIDragPreviewTarget
The target location.
Returns
- Attributes
Applies to
GetPreview(NSUrl, String, UIDragPreviewTarget)
Creates and returns a new targeted drag item preview from the specified url, title, and preview target.
[Foundation.Export("previewForURL:title:target:")]
public static UIKit.UITargetedDragPreview GetPreview (Foundation.NSUrl url, string title, UIKit.UIDragPreviewTarget target);
static member GetPreview : Foundation.NSUrl * string * UIKit.UIDragPreviewTarget -> UIKit.UITargetedDragPreview
Parameters
- url
- NSUrl
The location of the resource for which to get a preview.
- target
- UIDragPreviewTarget
The target location.
Returns
- Attributes