ApplicationViewTransferContext Class

Definition

Represents information about a window drag operation.

public ref class ApplicationViewTransferContext sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Static(Windows.UI.ViewManagement.IApplicationViewTransferContextStatics, 65536, "Windows.Foundation.UniversalApiContract")]
class ApplicationViewTransferContext final
/// [Windows.Foundation.Metadata.Activatable(131072, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.Static(Windows.UI.ViewManagement.IApplicationViewTransferContextStatics, 131072, "Windows.Foundation.UniversalApiContract")]
class ApplicationViewTransferContext final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Windows.UI.ViewManagement.IApplicationViewTransferContextStatics), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ApplicationViewTransferContext
[Windows.Foundation.Metadata.Activatable(131072, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.Static(typeof(Windows.UI.ViewManagement.IApplicationViewTransferContextStatics), 131072, "Windows.Foundation.UniversalApiContract")]
public sealed class ApplicationViewTransferContext
function ApplicationViewTransferContext()
Public NotInheritable Class ApplicationViewTransferContext
Inheritance
ApplicationViewTransferContext
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Constructors

ApplicationViewTransferContext()

Initializes a new instance of the ApplicationViewTransferContext class.

Properties

DataPackageFormatId

Gets the format ID of the DataPackage for the drag operation.

ViewId

Gets or sets the ID of the application view.

Applies to