CoreDragOperation.SetDragUIContentFromSoftwareBitmap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap) |
Sets custom drag UI content using a software bitmap. |
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point) |
Sets custom drag UI content using a software bitmap. |
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap)
Sets custom drag UI content using a software bitmap.
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)
Parameters
- softwareBitmap
- SoftwareBitmap
The custom UI drag content.
- Attributes
See also
Applies to
SetDragUIContentFromSoftwareBitmap(SoftwareBitmap, Point)
Sets custom drag UI content using a software bitmap.
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)
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