DragUIOverride.SetContentFromBitmapImage Method

Definition

Overloads

SetContentFromBitmapImage(BitmapImage)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation.

SetContentFromBitmapImage(BitmapImage, Point)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation, and sets the relative position of the visual from the pointer.

SetContentFromBitmapImage(BitmapImage)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation.

C#
[Windows.Foundation.Metadata.Overload("SetContentFromBitmapImage")]
public void SetContentFromBitmapImage(BitmapImage bitmapImage);

Parameters

bitmapImage
BitmapImage

The source image used to create the drag visual.

Attributes

See also

Applies to

Windows App SDK 1.6 and other versions
Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

SetContentFromBitmapImage(BitmapImage, Point)

Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation, and sets the relative position of the visual from the pointer.

C#
[Windows.Foundation.Metadata.Overload("SetContentFromBitmapImageWithAnchorPoint")]
public void SetContentFromBitmapImage(BitmapImage bitmapImage, Point anchorPoint);

Parameters

bitmapImage
BitmapImage

The source image used to create the drag visual.

anchorPoint
Point

The relative position of the drag visual from the pointer.

Attributes

See also

Applies to

Windows App SDK 1.6 and other versions
Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6