CoreDragOperation.SetDragUIContentFromSoftwareBitmap 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap) |
使用軟體點陣圖設定自訂拖曳 UI 內容。 |
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point) |
使用軟體點陣圖設定自訂拖曳 UI 內容。 |
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap)
使用軟體點陣圖設定自訂拖曳 UI 內容。
public:
virtual void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap) = SetDragUIContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmap")]
void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap);
[Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmap")]
public void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap);
function setDragUIContentFromSoftwareBitmap(softwareBitmap)
Public Sub SetDragUIContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap)
參數
- softwareBitmap
- SoftwareBitmap
自訂 UI 拖曳內容。
- 屬性
另請參閱
適用於
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point)
使用軟體點陣圖設定自訂拖曳 UI 內容。
public:
virtual void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap ^ softwareBitmap, Point anchorPoint) = SetDragUIContentFromSoftwareBitmap;
/// [Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmapWithAnchorPoint")]
void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap const& softwareBitmap, Point const& anchorPoint);
[Windows.Foundation.Metadata.Overload("SetDragUIContentFromSoftwareBitmapWithAnchorPoint")]
public void SetDragUIContentFromSoftwareBitmap(SoftwareBitmap softwareBitmap, Point anchorPoint);
function setDragUIContentFromSoftwareBitmap(softwareBitmap, anchorPoint)
Public Sub SetDragUIContentFromSoftwareBitmap (softwareBitmap As SoftwareBitmap, anchorPoint As Point)
參數
- softwareBitmap
- SoftwareBitmap
自訂 UI 拖曳內容。
- anchorPoint
- Point
從指標拖曳視覺效果的相對位置。 錨點不能不在內容之外。 例如,如果錨點 (50、50) 指標的位置 (x、y) ,視覺效果的左上角將會 (x - 50、y - 50) 。
- 屬性