Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Creating Cross-Platform C# Applications with Uno Platform
  • Toc
  • feedback
Creating Cross-Platform C# Applications with Uno Platform

Creating Cross-Platform C# Applications with Uno Platform

By : Matt Lacey , Marcel Alexander Wagner
5 (4)
close
Creating Cross-Platform C# Applications with Uno Platform

Creating Cross-Platform C# Applications with Uno Platform

5 (4)
By: Matt Lacey , Marcel Alexander Wagner

Overview of this book

Developers are increasingly being asked to build native applications that run on multiple operating systems and in the browser. In the past, this would have meant learning new technologies and making multiple copies of an application. But the Uno Platform allows you to use tools, languages, and APIs you already know from building Windows apps to develop apps that can also run on other platforms. This book will help you to create customer-facing as well as line-of-business apps that can be used on the device, browser, or operating system of your choice. This practical guide enables developers to put their C# and XAML knowledge to work by writing cross-platform apps using the Uno Platform. Packed with tips and practical examples, this book will help you to build applications for common scenarios. You'll begin by learning about the Uno Platform through step-by-step explanations of essential concepts, before moving on to creating cross-platform apps for different lines of business. Throughout this book, you'll work with examples that will teach you how to combine your existing knowledge to manage common development environments and implement frequently needed functionality. By the end of this Uno development book, you will have learned how to write your own cross-platform apps with the Uno Platform and use additional tools and libraries to speed up your app development process.
Table of Contents (13 chapters)
close
1
Section 1: Getting to Know Uno Platform
4
Section 2: Writing and Developing Uno Platform Apps
9
Section 3: Test, Deploy, and Contribute

Responding to changes in the UI

Your apps will need to run on different sized screens and windows. Some of these differences will be due to the different devices the app will run on, but you may also need to account for windows that can be resized by the user.

It's possible to design multiple versions of a page and load the appropriate one at runtime. However, it's usually much easier to create a single page that adjusts to the available dimensions. We'll look at how to do that with the features available.

Changing the page layout

Uno Platform allows you to create a responsive UI by switching between VisualStates.

It's possible to create StateTriggers elements (to trigger changes between states) for many scenarios, but the most common is to use an AdaptiveTrigger element that fires based on the size of the control to which it is attached. We'll now use adaptive triggers to adjust the Finance and Operations pages to better lay out their contents...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete