DesignerAppView DesignerAppView DesignerAppView DesignerAppView Class

Definition

Represents an app view in a XAML design surface.

public : sealed class DesignerAppView : IClosable
struct winrt::Windows::UI::Xaml::Hosting::DesignerAppView : IClosable
public sealed class DesignerAppView : IDisposable
Public NotInheritable Class DesignerAppView Implements IDisposable
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.16299.0)
API contract
Windows.UI.Xaml.Hosting.HostingContract (introduced v2)

Properties

ApplicationViewId ApplicationViewId ApplicationViewId ApplicationViewId

Gets the identifier for the app view.

AppUserModelId AppUserModelId AppUserModelId AppUserModelId

Gets the identifier for the app user model.

ViewSize ViewSize ViewSize ViewSize

Get the size of the app view in the designer.

ViewState ViewState ViewState ViewState

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

Methods

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

Closes the app view in the designer.

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

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

UpdateViewAsync(DesignerAppViewState, Size) UpdateViewAsync(DesignerAppViewState, Size) UpdateViewAsync(DesignerAppViewState, Size) UpdateViewAsync(DesignerAppViewState, Size)

Updates the app view in the designer.