Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.01 KB

draguioverride_setcontentfromsoftwarebitmap_567377191.md

File metadata and controls

28 lines (19 loc) · 1.01 KB
-api-id -api-type
M:Microsoft.UI.Xaml.DragUIOverride.SetContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap,Windows.Foundation.Point)
winrt method

Microsoft.UI.Xaml.DragUIOverride.SetContentFromSoftwareBitmap

-description

Creates a visual element from a provided SoftwareBitmap to represent the dragged data in a drag-and-drop operation, and sets the relative position of the visual from the pointer.

-parameters

-param softwareBitmap

The source image used to create the drag visual.

-param anchorPoint

The relative position of the drag visual from the pointer.

-remarks

-examples

-see-also

Drag-and-drop overview, SetContentFromSoftwareBitmap(SoftwareBitmap)