Share via


DesignerAppView Klasse

Definition

Stellt eine App-Ansicht in einer XAML-Entwurfsoberfläche dar.

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
Vererbung
Object Platform::Object IInspectable DesignerAppView
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows Desktop Extension SDK (eingeführt in 10.0.16299.0)
API contract
Windows.UI.Xaml.Hosting.HostingContract (eingeführt in v2.0)

Eigenschaften

ApplicationViewId

Ruft den Bezeichner für die App-Ansicht ab.

AppUserModelId

Ruft den Bezeichner für das App-Benutzermodell ab.

ViewSize

Rufen Sie die Größe der App-Ansicht im Designer ab.

ViewState

Ruft einen Wert ab, der angibt, ob die Ansicht sichtbar oder ausgeblendet ist.

Methoden

Close()

Schließt die App-Ansicht im Designer.

Dispose()

Führt anwendungsspezifische Aufgaben durch, die mit der Freigabe, der Zurückgabe oder dem Zurücksetzen von nicht verwalteten Ressourcen zusammenhängen.

UpdateViewAsync(DesignerAppViewState, Size)

Updates die App-Ansicht im Designer.

Gilt für: