Udostępnij za pośrednictwem


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)]
class ApplicationViewTransferContext final
/// [Windows.Foundation.Metadata.Activatable(131072, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
class ApplicationViewTransferContext final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class ApplicationViewTransferContext
[Windows.Foundation.Metadata.Activatable(131072, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public sealed class ApplicationViewTransferContext
function ApplicationViewTransferContext()
Public NotInheritable Class ApplicationViewTransferContext
Inheritance
Object Platform::Object IInspectable ApplicationViewTransferContext
Attributes

Windows 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