Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
lawrence_shaun_introducing_net_maui_build_and_deploy_crosspl.pdf
Скачиваний:
46
Добавлен:
26.06.2023
Размер:
5.15 Mб
Скачать

CHAPTER 8

Advanced UI

Concepts

In this chapter, you will provide the user of your application with the ability to add a widget to the boards they create through the use of an overlay. You will further enhance this overlay by defining common styling techniques and handling the differences between light and dark mode devices.

You will then take a journey into discovering how you can build an application that feels natural and organic to your human user base. Finally, you will look at how you can keep the animations driving the organic look and feel cleanly separated from your business logic code.

Adding the Ability to Add a Widget to a Board

In Chapter 6, you created your own BoardLayout and the associated FixedLayoutManager that enabled you to show a board and added in the ability to handle interaction events by the user. In this section, you are going to expand on that to handle the user tapping on a widget Placeholder and letting the user choose a widget to add to the board.

© Shaun Lawrence 2023

221

S. Lawrence, Introducing .NET MAUI, https://doi.org/10.1007/978-1-4842-9234-1_8