DesignerAppManager DesignerAppManager DesignerAppManager DesignerAppManager Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Manages an application in a XAML design surface.

public : sealed class DesignerAppManager : IClosable, IDesignerAppManagerpublic sealed class DesignerAppManager : IDisposable, IDesignerAppManagerPublic NotInheritable Class DesignerAppManager Implements IDisposable, IDesignerAppManager// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.16257.0)
API contract
Windows.UI.Xaml.Hosting.HostingContract (introduced v2)

Constructors

DesignerAppManager(String) DesignerAppManager(String) DesignerAppManager(String) DesignerAppManager(String)

Prerelease. Initializes a new instance of the DesignerAppManager class.

public : DesignerAppManager(PlatForm::String appUserModelId)public DesignerAppManager(String appUserModelId)Public Sub New(appUserModelId As String)// This API is not available in Javascript.
Parameters
appUserModelId
PlatForm::String String String String

The identifier for the app user model.

Properties

AppUserModelId AppUserModelId AppUserModelId AppUserModelId

Prerelease. Gets the identifier for the app user model.

public : PlatForm::String AppUserModelId { get; }public string AppUserModelId { get; }Public ReadOnly Property AppUserModelId As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The identifier for the app user model.

Methods

Close() Close() Close() Close()

Prerelease. Closes the app manager.

public : void Close()This member is not implemented in C#This member is not implemented in VB.Net// This API is not available in Javascript.

CreateNewViewAsync(DesignerAppViewState, Size) CreateNewViewAsync(DesignerAppViewState, Size) CreateNewViewAsync(DesignerAppViewState, Size) CreateNewViewAsync(DesignerAppViewState, Size)

Prerelease. Creates a new DesignerAppView.

public : IAsyncOperation<DesignerAppView> CreateNewViewAsync(DesignerAppViewState initialViewState, Size initialViewSize)public IAsyncOperation<DesignerAppView> CreateNewViewAsync(DesignerAppViewState initialViewState, Size initialViewSize)Public Function CreateNewViewAsync(initialViewState As DesignerAppViewState, initialViewSize As Size) As IAsyncOperation( Of DesignerAppView )// This API is not available in Javascript.
Parameters
initialViewSize
Size Size Size Size

The initial size of the view.

Returns

Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

This member is not implemented in C++void Dispose()Sub Disposevoid Dispose()

LoadObjectIntoAppAsync(String, Guid, String) LoadObjectIntoAppAsync(String, Guid, String) LoadObjectIntoAppAsync(String, Guid, String) LoadObjectIntoAppAsync(String, Guid, String)

Prerelease. Loads the specified object into the app.

public : IAsyncAction LoadObjectIntoAppAsync(PlatForm::String dllName, PlatForm::Guid classId, PlatForm::String initializationData)public IAsyncAction LoadObjectIntoAppAsync(String dllName, Guid classId, String initializationData)Public Function LoadObjectIntoAppAsync(dllName As String, classId As Guid, initializationData As String) As IAsyncAction// This API is not available in Javascript.
Parameters
dllName
PlatForm::String String String String

The name of the DLL.

classId
PlatForm::Guid Guid Guid Guid

The identifier for the class.

initializationData
PlatForm::String String String String

Data to initialize the object.

Returns

The asynchronous results of the operation. Use this to determine when the async call is complete.