Share via


DragUIOverride.SetContentFromSoftwareBitmap Method

Definition

Overloads

SetContentFromSoftwareBitmap(SoftwareBitmap)

Specifies that the visual representation for the content being dragged should be derived from the specified bitmap.

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Specifies that the visual representation for the content being dragged should be derived from the specified bitmap, and displayed at the specified position based on the location of the pointer.

SetContentFromSoftwareBitmap(SoftwareBitmap)

Specifies that the visual representation for the content being dragged should be derived from the specified bitmap.

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

Parameters

bitmap
SoftwareBitmap

The bitmap to use as the visual representation of the dragged content.

Attributes

Applies to

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Specifies that the visual representation for the content being dragged should be derived from the specified bitmap, and displayed at the specified position based on the location of the pointer.

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

Parameters

bitmap
SoftwareBitmap

The bitmap to use as the visual representation of the dragged content.

anchorPoint
Point

The position of the bitmap based on the location of the pointer.

Attributes

Applies to