Skip to content

A collection of code samples for the Uno Platform

License

Notifications You must be signed in to change notification settings

Bagain/Uno.Samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Uno Platform (Pronounced 'Oono' or 'Ouno') is a Universal Windows Platform Bridge that allows UWP-based code (C# and XAML) to run on iOS, Android, macOS, and WebAssembly

Twitter Followers GitHub Stars PRs Welcome

This repository provides simple to-the-point samples for features of the Uno platform.

What is the Uno Platform

The Uno Platform (Pronounced 'Oono' or 'Ouno') is a Universal Windows Platform Bridge that allows UWP-based code (C# and XAML) to run on iOS, Android, macOS, and WebAssembly. It provides the full definitions of the UWP Windows 10 2004 (19041), and the implementation of a growing number of parts of the UWP API, such as Windows.UI.Xaml, to enable UWP and WinUI applications to run on these platforms.

Use the UWP/WinUI tooling from Windows in Visual Studio, such as XAML Edit and Continue and C# Edit and Continue, build your application as much as possible on Windows, then validate that your application runs on iOS, Android, macOS and WebAssembly.

Visit our documentation for more details.

Samples

Android Custom Camera

An android specific sample that shows how to start a camera capture intent, and display the result in an Image control.

Auto Suggest

An implementation of the XAML AutoSuggest control, showing how to autofill suggestions for user input.

Benchmark

An implementation of the .NET Benchmark Control, performance comparison tool

Camera Capture UI

A cross-platform implementation of the UWP CameraCaptureUI class that allows the user to capture audio, video, and photos from the device camera.

Control Library

An example of creating a custom control library and calling a control from your shared project.

Map Control

An implementation of the UWP Maps control with a custom slider that binds the value of the slider to the ZoomLevel property of the control.

Native Style Switch

An example of a toggle that allows you to switch between Native UI Controls and UWP UI Controls. The sample includes a checkbox, slider, button, and toggle.

SkiaSharp Test

An example of the Uno implementation of SkiaSharp creating a basic canvas with text.

ToyCar

A proof of concept of a car animation using the TwoPaneView control spanned accross dual screens (such as Neo or Duo dual screen devices for example). Inspiration from Justin Liu's demo app.

SQLite

This is a simple standalone app demonstrating the use of SQLite in an Uno application, including WebAssembly. It uses Erik Sink's SQLitePCLRaw, and Frank Krueger's sqlite-net libraries.

WCT DataGrid

A dynamic grid view ported from the Windows Community Toolkit that allows for x:Bind.

WCT TabView

Ported from the Windows Community Toolkit, this sample shows an implementation of a TabViewItem in a shared container.

======= Visit our documentation for more details.

About

A collection of code samples for the Uno Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.6%
  • HTML 1.7%
  • Other 1.7%