共用方式為


DragOperation.SetDragUIContentFromSoftwareBitmap 方法

定義

多載

SetDragUIContentFromSoftwareBitmap(SoftwareBitmap)

指定在拖放作業期間,指定的點陣圖影像應該當做自訂拖曳視覺效果使用。

SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point)

指定指定的點陣圖影像應該用來做為自訂拖曳視覺效果, (在拖放作業期間,從輸入指標) 的指定位移顯示。

SetDragUIContentFromSoftwareBitmap(SoftwareBitmap)

指定在拖放作業期間,指定的點陣圖影像應該當做自訂拖曳視覺效果使用。

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

參數

bitmap
SoftwareBitmap

在拖放作業期間,要用於自訂拖曳視覺效果的點陣圖影像。

屬性

適用於

SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point)

指定指定的點陣圖影像應該用來做為自訂拖曳視覺效果, (在拖放作業期間,從輸入指標) 的指定位移顯示。

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

參數

bitmap
SoftwareBitmap

在拖放作業期間,要用於自訂拖曳視覺效果的點陣圖影像。

anchorPoint
Point

從輸入指標拖曳視覺效果的相對位置。 錨點不能不在內容之外。 例如,如果錨點 (50、50) 且指標的位置是 (x、y) ,視覺效果的左上角將會 (x - 50、y - 50) 。

屬性

適用於