Skip to content

Commit

Permalink
docs: adjust docs to reflect the changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Jul 8, 2024
1 parent 8e683d1 commit fbab651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/articles/features/windows-ui-xaml-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ var nativeWindow = Uno.UI.Xaml.WindowHelper.GetNativeWindow(MainWindow);

The `nativeWindow` is an `object`, so you need to cast it to the specific type on the given platform. See the table below:

| | Skia+GTK | Skia+WPF | iOS | Android | macOS | Catalyst | WebAssembly |
| ------------------------------ | :----------: | :---------------------: | :--------------: | :-------------------: | :---------------: | :--------------: | :---------: |
| `WindowHelper.GetNativeWindow` | `Gtk.Window` | `System.Windows.Window` | `UIKit.UIWindow` | `Android.View.Window` | `AppKit.NSWindow` | `UIKit.UIWindow` | `null` |
| | Skia+GTK | Skia+X11 | Skia+WPF | iOS | Android | macOS | Catalyst | WebAssembly |
| ------------------------------ | :----------: | :-----------------------------------: | :---------------------: | :--------------: | :-------------------: | :---------------: | :--------------: | :---------: |
| `WindowHelper.GetNativeWindow` | `Gtk.Window` | `Uno.UI.Runtime.Skia.X11NativeWindow` | `System.Windows.Window` | `UIKit.UIWindow` | `Android.View.Window` | `AppKit.NSWindow` | `UIKit.UIWindow` | `null` |

## Avoiding `Window.Current`

Expand Down

0 comments on commit fbab651

Please sign in to comment.