Delen via


DesignerAppView Class

Definition

Represents an app view in a XAML design surface.

public ref class DesignerAppView sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Xaml.Hosting.HostingContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DesignerAppView final : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Xaml.Hosting.HostingContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DesignerAppView final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Xaml.Hosting.HostingContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DesignerAppView : System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Xaml.Hosting.HostingContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DesignerAppView : System.IDisposable
Public NotInheritable Class DesignerAppView
Implements IDisposable
Inheritance
Object Platform::Object IInspectable DesignerAppView
Attributes
Implements

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.UI.Xaml.Hosting.HostingContract (introduced in v2.0)

Properties

ApplicationViewId

Gets the identifier for the app view.

AppUserModelId

Gets the identifier for the app user model.

ViewSize

Get the size of the app view in the designer.

ViewState

Gets a value that indicates whether the view is visible or hidden.

Methods

Close()

Closes the app view in the designer.

Dispose()

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

UpdateViewAsync(DesignerAppViewState, Size)

Updates the app view in the designer.

Applies to