Jaa


CoreDragUIOverride.SetContentFromSoftwareBitmap Method

Definition

Overloads

SetContentFromSoftwareBitmap(SoftwareBitmap)

Sets custom drag UI content using a software bitmap.

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Sets custom drag UI content using a software bitmap.

SetContentFromSoftwareBitmap(SoftwareBitmap)

Sets custom drag UI content using a software bitmap.

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 custom drag UI content.

Attributes

See also

Applies to

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

Sets custom drag UI content using a software bitmap.

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 custom UI drag content.

anchorPoint
Point

The relative position of the drag visual from the pointer. The anchor point cannot be outside of the content. For example, if the anchor point is (50, 50) and the position of the pointer is (x, y), the top left corner for the visual will be (x - 50, y - 50).

Attributes

See also

Applies to