CoreDragVisualOverride.SetDragUIContentOverride(Object, Size, Point) method
[This documentation is preliminary and is subject to change.]
Sets the drag UI content override.
Syntax
public void SetDragUIContentOverride(
object dragContent,
Size contentSize,
Point anchorPoint
)
Public Sub SetDragUIContentOverride(
dragContent As Object,
contentSize As Size,
anchorPoint As Point
)
public:
void SetDragUIContentOverride(
Object^ dragContent,
Size contentSize,
Point anchorPoint
)
Parameters
dragContent
Type: System.Object [.NET] | Platform::Object [C++]The content to set.
contentSize
Type: SizeThe size of the content.
anchorPoint
Type: PointThe relative position of the visual from the pointer. This point cannot be outside of the content.
Requirements (device family)
Device family |
Universal |
API contract |
Windows.Foundation.UniversalApiContract, introduced version 1.0 |
Namespace |
Windows.ApplicationModel.DataTransfer.DragDrop.Core Windows::ApplicationModel::DataTransfer::DragDrop::Core [C++] |
Metadata |
Windows.Foundation.UniversalApiContract.winmd |