diff --git a/src/Uno.UWP/Generated/3.0.0.0/Microsoft.UI.Windowing/AppWindowPresenter.cs b/src/Uno.UWP/Generated/3.0.0.0/Microsoft.UI.Windowing/AppWindowPresenter.cs index 1a17e5ec632a..f5d43ae96b1d 100644 --- a/src/Uno.UWP/Generated/3.0.0.0/Microsoft.UI.Windowing/AppWindowPresenter.cs +++ b/src/Uno.UWP/Generated/3.0.0.0/Microsoft.UI.Windowing/AppWindowPresenter.cs @@ -3,17 +3,17 @@ #pragma warning disable 114 // new keyword hiding namespace Microsoft.UI.Windowing { -#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ +#if false [global::Uno.NotImplemented] #endif public partial class AppWindowPresenter { -#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ +#if false internal AppWindowPresenter() { } #endif -#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ +#if false [global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] public global::Microsoft.UI.Windowing.AppWindowPresenterKind Kind { diff --git a/src/Uno.UWP/Microsoft/UI/Windowing/AppWindowClosingEventArgs.cs b/src/Uno.UWP/Microsoft/UI/Windowing/AppWindowClosingEventArgs.cs index 89e22c51f002..e5d76a9f7ca3 100644 --- a/src/Uno.UWP/Microsoft/UI/Windowing/AppWindowClosingEventArgs.cs +++ b/src/Uno.UWP/Microsoft/UI/Windowing/AppWindowClosingEventArgs.cs @@ -1,5 +1,8 @@ namespace Microsoft.UI.Windowing; +/// +/// Provides data for the AppWindow.Closing event. +/// #if HAS_UNO_WINUI public #else @@ -11,5 +14,8 @@ internal AppWindowClosingEventArgs() { } + /// + /// Gets or sets a value that indicates whether the event should be canceled. + /// public bool Cancel { get; set; } } diff --git a/src/Uno.UWP/Microsoft/UI/Windowing/AppWindowPresenter.cs b/src/Uno.UWP/Microsoft/UI/Windowing/AppWindowPresenter.cs new file mode 100644 index 000000000000..ba2dbfef4e06 --- /dev/null +++ b/src/Uno.UWP/Microsoft/UI/Windowing/AppWindowPresenter.cs @@ -0,0 +1,14 @@ +namespace Microsoft.UI.Windowing; + +public partial class AppWindowPresenter +{ + /// + /// Displays an app window using a pre-defined configuration appropriate for the type of window. + /// + internal AppWindowPresenter(AppWindowPresenterKind kind) => Kind = kind; + + /// + /// Gets a value that indicates the kind of presenter the app window is using. + /// + public AppWindowPresenterKind Kind { get; } +}