You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/articles/android-activities.md
+4
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
uid: Uno.Development.AndroidActivities
3
+
---
4
+
1
5
# Managing activities in Android
2
6
3
7
[Activities](https://developer.android.com/reference/android/app/Activity) are an integral element of the Android platform. By default your Uno Platform application runs in a single activity, but you might for example spawn a new activity when a user shares content, or picks an image from their device. This article covers Activity management in Uno.
Copy file name to clipboardExpand all lines: doc/articles/api-differences.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
uid: Uno.Development.ApiDifferences
3
+
---
4
+
1
5
# Differences between Uno.UI and UWP/WinUI
2
6
3
7
Uno Platform strives to closely replicate the UWP/WinUI API on all platforms and ensure that existing WinUI code is 100% compatible with Uno. This article covers areas where Uno.UI's implementation differs, typically to better integrate with the native platform, or where the capabilities of .NET differ due to inherent limitations of the native platform.
@@ -32,4 +36,4 @@ This is as transparent as possible to the application developer. For example, if
32
36
33
37
Currently, WebAssembly code in the browser executes on a single thread. This limitation is expected to be lifted in the future, but for now, code that expects additional threads to be available may not function as expected.
34
38
35
-
[This GitHub issue](https://github.com/unoplatform/uno/issues/2302) tracks support for multi-threading on WebAssembly in Uno Platform.
39
+
[This GitHub issue](https://github.com/unoplatform/uno/issues/2302) tracks support for multi-threading on WebAssembly in Uno Platform.
Copy file name to clipboardExpand all lines: doc/articles/contributing/guidelines/code-style.md
+4
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
uid: Uno.Contributing.CodeStyle
3
+
---
4
+
1
5
# Guidelines for Code style
2
6
3
7
Uno uses EditorConfig ([here's our configuration](https://github.com/unoplatform/uno/blob/master/.editorconfig)) to maintain consistent coding styles and settings in our codebase, such as indent style, tab width, end of line characters, encoding, and more. Most IDEs should respect the `EditorConfig` settings by default when applying formatting. We typically observe the [Microsoft C# Coding Conventions](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions) with one notable exception - Uno uses Tabs. If you install this [Visual Studio plugin](https://marketplace.visualstudio.com/items?itemName=mynkow.FormatdocumentonSave) it will automatically format your contributions upon file save.
Copy file name to clipboardExpand all lines: doc/articles/contributing/guidelines/creating-tests.md
+4
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
uid: Uno.Contributing.CreatingTests
3
+
---
4
+
1
5
# Guidelines for creating tests
2
6
3
7
Good test coverage is essential to maintaining Uno stable and free of regressions. Appropriate tests are generally a requirement for bugfix and new feature PRs.
Copy file name to clipboardExpand all lines: doc/articles/contributing/guidelines/updating-dependencies.md
+4
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
uid: Uno.Contributing.UpdatingDependencies
3
+
---
4
+
1
5
# Guidelines for updating dependencies
2
6
3
7
We use Dependabot to notify the team of any updates to dependencies. Once a week the robot will scan our dependencies and raise a pull-request if a new version is found. If an existing open pull-request is found for a dependency it will be closed and replaced with a new pull-request. The behavior of the robot is [controlled by this configuration file](https://github.com/unoplatform/Uno/blob/master/.dependabot/config.yml).
Copy file name to clipboardExpand all lines: doc/articles/controls/CommandBar.md
+42-38
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
uid: Uno.Controls.CommandBar
3
+
---
4
+
1
5
# CommandBar
2
6
3
7
The `CommandBar` in **Uno** is designed to be used the same way you would use the `CommandBar` on **UWP**. In most cases, you should refer to the [official `CommandBar` documentation](https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.commandbar).
@@ -17,7 +21,7 @@ The `CommandBar` supports 2 different modes:
17
21
18
22
This mode replicates **UWP**'s `CommandBar`. It is templatable and supports a template that's almost identical to **UWP**'s default `CommandBar`.
19
23
20
-

24
+

21
25
22
26
#### Usage Example
23
27
@@ -34,9 +38,9 @@ This mode replicates **UWP**'s `CommandBar`. It is templatable and supports a te
On**Android**, tappingthebackbuttontriggers `SystemNavigationService.BackRequested`. It's the responsibility of the application'snavigationcontrollertoeventuallycall `Frame.GoBack()`.
71
75
@@ -96,9 +100,9 @@ On **iOS**, tapping the back button automatically triggers a back navigation on
@@ -115,9 +119,9 @@ The `Content` is processed differently whether it's of type `string` or `Framewo
115
119
116
120
When `Content` isa `string`, it's displayed using the platform'sdefaultfontfamily, fontsize, fontstyleandtextalignment. Onlytheforegroundcolorcanbechanged, using `Foreground`.
0 commit comments