Share via


DragUI.SetContentFromSoftwareBitmap Method

Definition

Overloads

SetContentFromSoftwareBitmap(SoftwareBitmap)

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

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

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

SetContentFromSoftwareBitmap(SoftwareBitmap)

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

public:
 virtual void SetContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap) = SetContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmap")]
void SetContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap);
[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmap")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap);
function setContentFromSoftwareBitmap(softwareBitmap)
Public Sub SetContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap)

Parameters

softwareBitmap
SoftwareBitmap

The source image used to create the drag visual.

Attributes

See also

Applies to

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

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

public:
 virtual void SetContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap, Point anchorPoint) = SetContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmapWithAnchorPoint")]
void SetContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap, Point const& anchorPoint);
[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmapWithAnchorPoint")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap, Point anchorPoint);
function setContentFromSoftwareBitmap(softwareBitmap, anchorPoint)
Public Sub SetContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap, anchorPoint As Point)

Parameters

softwareBitmap
SoftwareBitmap

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