Controls

LiveCharts Announces Support for Uno Platform

Imagine combining LiveCharts2 (v2) the evolution of LiveCharts (v0) with the power of Uno Platform.  The ability to integrate beautiful, animated, automatically updated, cross-platform, object-oriented and easy-to-use charts opens a ton of possibilities for data visualization-driven applications! The LiveCharts team has been working hard at expanding support for Uno Platform and you can now integrate charts, maps, and gauges everywhere Uno Platform runs. LiveCharts2 for Uno Platform contains the following controls: Cartesian Chart Control Pie Chart Control Polar Chart Control Geo Map Control Chart Examples As of today, LiveCharts2 for Uno Platform is in a preview and is available to everyone via NuGet package for Uno. You can also visit the new website, which houses the library, and docs which are fully integrated with Uno Platform and the API explorer. Take it for a spin and see just how easy it is to get started using this brand-new suite of controls in your Uno Platform Applications LETS GET STARTED 1. Install Uno Platform Before getting started with Uno, ensure you have installed all the prerequisites, for Visual Studio you can get started here, you can find help on how to install the mentioned workloads here. 2. Create a new Uno Platform project Open visual

Implementing Lazy Loading Functionality in Uno WebAssembly Applications

No matter the purpose of your application or website, performance is essential to a great user experience. Slow loading apps and webpages will turn users away almost immediately. Fortunately, Lazy Loading is a technique used to optimize load time by only loading required content at first, and loading any remaining page content once the user needs it.  In this article, Johnny guides us through the steps required to implement the Lazy Loading functionality for ListView and Gridview controls in Uno Platform WASM applications. Follow Along with the Demo Project Source Code Lazy Loading Lazy Loading or incremental loading is a strategy to delay the loading of objects until they are actually needed. This can help reducing resources used by the application and increase loading times for the item collection, because only parts of the data are loaded initially. ScrollView For my usecase the trigger for loading more items is a certain scrolling threshold in the ListView and GridView control. To get the current scroll position we need to somehow access the ScrollView within the ListViewBase which is the base class for ListView and GridView. We will use the VisualTreeHelper class to get information about nodes in the visual tree and get a reference to the inner ScrollView of the ListViewBase var myScrollView = ExtendedVisualTreeHelper.GetFirstDescendant(myGridView); myScrollView.ViewChanged +=

How Uno Platform Ports Features from WinUI on Day 0

Microsoft WinUI library contains all the features necessary to create beautiful applications on modern Windows operating systems. Because Uno Platform has the same API surface, we’re able to take those same high fidelity UI components and bring them to Android, iOS, macOS, WebAssembly and Linux without changing any single line of code. Of course, WinUI is constantly evolving and our goal is to bring all the new features and controls to Uno Platform on day-0 when WinUI ships. How can we be so fast? In this session we show you how having the same API contracts makes this process very fast and straightforward. To demonstrate how the conversion works and maybe to inspire you to also port some WinUI controls to Uno Platform Martin takes you through the simple process using the WinUI TabView control as an example. In his demo, Martin breaks down the steps our engineers take to port features from WinUI while ensuring we don’t break the existing features and functionality as new features are added and controls are updated. Finally, after performing all the changes for all the C# files and converting all the C++ to C#, he shows how to run the control against Uno

Uno Platform 3.8 – New WinUI Calendar, Grid controls, 2x performance, new Linux scenario and more

The new 3.8 release ports additional WinUI controls and layouts, such as the often-requested CalendarDatePicker and CalendarView controls, to all Uno-supported platforms getting us one huge step closer to the #WinUIEverywhere vision. Also, the new release brings up to 2x performance improvements in some scenarios, realized from the new Grid implementation as well as DependencyObject and UI Elements creation improvements. We also introduced new AOT and features for WebAssembly, built on top of recently released Microsoft work on .NET. On the Linux front we enabled new scenarios so you can target embedded systems using the FrameBuffer as well. In addition to new UI and Performance features and improvements, the team has closed 100+ issues. Closing issues timely is crucial in further fueling large projects enabling customers like Kahua to port a massive line of business applications from desktop to Web. We are particularly proud of the fact that with every release we close more issues than have been opened in the previous period; it shows a healthy open-source project. A huge THANK YOU goes to all our contributors. Now, let us unpack the 3.8 release in more detail. CalendarDatePicker and CalendarView Shout out to @carldebilly, @dr1rrb, @agneszitte-nventive, @kazo0, @sakshi173 The

GUI Innovations Controls Helper for Uno Platform

One of Uno Platform fans and Microsoft MVPs, Pete Vickers, has created a way of generating the XAML to create controls in your code. This add-in will allow you to create Uno Platform Controls in your XAML file. Simply right-click in your XAML file and choose your control. Once generated, you can further tune them to your requirements. Released as an add-in to Visual Studio, Uno Controls Helper will allow you to choose from a pre-set of properties for a control, and will generate the XAML and insert it into your XAML code. Currently these are the supported controls: • Grid • Button • TextBlock • TextBox • PasswordBox • Date/Time Picker • Radio Buttons • Check Box • ComboBox • ListView • Image You can see step-by-step instructions on how to use this utility either on Pete’s site GUI Innovations – Uno Controls Helper (gui-innovations.com) or in this short YouTube video.

Uno Platform 3.5 – WinUI 3 Preview 4 support, 4 New Controls and 100+ issues closed

Staying true to our #WinUIEverywhere mission, our 3.5 release provides day-zero support for WinUI 3 Preview 4 and it brings support for 4 new WinUI controls – Navigation View, Progress Ring, Pager and Expander. In addition, we are solidifying our existing support for SkiaSharp and Xamarin.Forms 5. ‘Big bang’ features usually get the front news, but we want to emphasize just how much effort went into closing issues on our GitHub repo. We have closed additional 115 issues together with community – be it bugs, new features or performance improvements! Read on to see what’s new. About Uno Platform For those new to Uno Platform – it allows for creation of pixel-perfect, single-source C# and XAML apps which run natively on Windows, iOS, Android, macOS, Linux and Web via WebAssembly. Uno Platform is free and Open Source (Apache 2.0) and available on GitHub. WinUI 3 Preview 4 Support Microsoft has released the WinUI 3 Preview 4 today, and we have upgraded our templates and APIs support to target this version as well. You can create a new application from our dotnet new templates, which contains all the existing Uno Platform targets, as well as a .NET 5 Desktop packaged project

Uno Platform 3.4 – Maturing the supported control set

In early parts of 2020 we had released support for many new platforms – macOS, Linux, Skia and flirted with Tizen. In the second half of the year, as WinUI matured more, we focused on providing day-0 support for WinUI releases. Starting from today’s 3.4 release and in the period ahead when WinUI is expected to RTM, we will be putting an even bigger focus on maturing Uno Platform by providing a growing set of controls and mappings to existing WinUI and 3rd party components.   The eighth release of this year is dedicated to supporting more WinUI controls, such as the Hierarchical NavigationView, InfoBar, RadioButtons, ItemsRepeater and determinate ProgressRing. We are following the footsteps of the WinUI team to align more of the controls Uno provides with what is supported on Windows. The combination of controls we are releasing with 3.4 release, the recently-announced Infragistics controls for Uno Platform, and Syncfusion charting, will give you as a developer a great toolset to tackle single-source web, desktop and mobile applications. In addition we also significantly expanded the number of features in existing Uno controls and fixed dozens bugs with the help of Uno open-source community (Thanks Jeremy!). Hierarchical NavigationView support

Infragistics announces Uno Platform specific UI Controls

We are happy to announce that Infragistics, a UI control ‘household’ name with 30+ years of experience in providing productivity UI controls for .NET developers is releasing their initial offering for Uno Platforms consisting of Grids, Charts and Gauges. In addition to Uno Platform-specific controls, Infragistics also announced support for WinUI! Infragistics is not just giving their paying customers early access to the Infragistics Ultimate UI for Uno Platform Preview controls.  Anyone from the community can download these great controls and start using them NOW for free. You can see the full announcement from Infragistics here, but more importantly you can Download the FREE Infragistics Ultimate UI for Uno Platform Preview. See below for some pixel-perfect, LOB controls you can now use on WebAssembly, iOS, Android, macOS, Linux and of course Windows!