Share via


CoreDragUI.SetContent method

[This documentation is preliminary and is subject to change.]

Sets the content for the UI of a drag and drop operation.

Syntax

public void SetContent(
  object dragContent, 
  Nullable<Size> contentSize
)
Public Sub SetContent(
  dragContent As Object,  
  contentSize As Nullable(Of Size) 
)
public:
void SetContent(
  Object^ dragContent, 
  IReference<Size>^ contentSize
)

Parameters

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.DataTransfer.DragDrop.Core Windows::ApplicationModel::DataTransfer::DragDrop::Core [C++]

Metadata

Windows.winmd

See also

CoreDragUI