DesignerAppView
DesignerAppView
DesignerAppView
DesignerAppView
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.]
Represents an app view in a XAML design surface.
public : sealed class DesignerAppView : IClosable, IDesignerAppViewpublic sealed class DesignerAppView : IDisposable, IDesignerAppViewPublic NotInheritable Class DesignerAppView Implements IDisposable, IDesignerAppView// This API is not available in Javascript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.16257.0)
|
| API contract |
Windows.UI.Xaml.Hosting.HostingContract (introduced v2)
|
Properties
ApplicationViewId ApplicationViewId ApplicationViewId ApplicationViewId
Prerelease. Gets the identifier for the app view.
public : int ApplicationViewId { get; }public int ApplicationViewId { get; }Public ReadOnly Property ApplicationViewId As int// This API is not available in Javascript.
- Value
- int int int int
The identifier for the app view.
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.
ViewState ViewState ViewState ViewState
Prerelease. Gets a value that indicates whether the view is visible or hidden.
public : DesignerAppViewState ViewState { get; }public DesignerAppViewState ViewState { get; }Public ReadOnly Property ViewState As DesignerAppViewState// This API is not available in Javascript.
A value that indicates whether the view is Visible or Hidden.
Methods
Close() Close() Close() Close()
Prerelease. Closes the app view in the designer.
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.
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()
UpdateViewAsync(DesignerAppViewState, Size) UpdateViewAsync(DesignerAppViewState, Size) UpdateViewAsync(DesignerAppViewState, Size) UpdateViewAsync(DesignerAppViewState, Size)
Prerelease. Updates the app view in the designer.
public : IAsyncAction UpdateViewAsync(DesignerAppViewState viewState, Size viewSize)public IAsyncAction UpdateViewAsync(DesignerAppViewState viewState, Size viewSize)Public Function UpdateViewAsync(viewState As DesignerAppViewState, viewSize As Size) As IAsyncAction// This API is not available in Javascript.
The state of the app view.
The asynchronous results of the operation. Use this to determine when the async call is complete.