DragUI.SetContentFromSoftwareBitmap 方法

定义

重载

SetContentFromSoftwareBitmap(SoftwareBitmap)

从提供的 SoftwareBitmap 创建可视元素,以表示拖放操作中的拖动数据。

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

从提供的 SoftwareBitmap 创建一个视觉元素,以表示拖放操作中的拖动数据,并从指针设置视觉对象的相对位置。

SetContentFromSoftwareBitmap(SoftwareBitmap)

从提供的 SoftwareBitmap 创建可视元素,以表示拖放操作中的拖动数据。

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)

参数

softwareBitmap
SoftwareBitmap

用于创建拖动视觉对象的源图像。

属性

另请参阅

适用于

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

从提供的 SoftwareBitmap 创建一个视觉元素,以表示拖放操作中的拖动数据,并从指针设置视觉对象的相对位置。

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)

参数

softwareBitmap
SoftwareBitmap

用于创建拖动视觉对象的源图像。

anchorPoint
Point

从指针拖动视觉对象的相对位置。

属性

另请参阅

适用于