使用英语阅读

通过


DragUI.SetContentFromSoftwareBitmap 方法

定义

重载

SetContentFromSoftwareBitmap(SoftwareBitmap)

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

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

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

SetContentFromSoftwareBitmap(SoftwareBitmap)

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

[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmap")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap);

参数

softwareBitmap
SoftwareBitmap

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

属性

另请参阅

适用于

SetContentFromSoftwareBitmap(SoftwareBitmap, Point)

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

[Windows.Foundation.Metadata.Overload("SetContentFromSoftwareBitmapWithAnchorPoint")]
public void SetContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap, Point anchorPoint);

参数

softwareBitmap
SoftwareBitmap

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

anchorPoint
Point

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

属性

另请参阅

适用于