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

Chapter 11 Getting Specific

Scoping of Mapper Customization

All controls in .NET MAUI that utilize the handler architecture also provide

HandlerChanging and HandlerChanged events, or OnHandlerChanging and OnHandlerChanged methods, meaning you can subscribe to them and customize the look and feel of a specific control instance.

Further Reading

One great example of overriding controls in such a way is a talk by Peter Marchev, a Telerik developer, showing how you can customize individual components in their charting control with very limited amounts of code. The talk can be viewed at www.youtube.com/watch?v=s7WfTT-MVSg.

Summary

In this chapter, you

•\

Learned about permissions on the various platforms

 

and how to request them

•\

Learned how to use the Geolocation API

•\

Wrote your own platform-specific interaction when

 

necessary

•\

Discovered how to tweak the UI based on the platform

 

upon which your application is running

•\

Further tweaked the UI through the use of the handler

 

architecture

In the next chapter, you will

•\

Learn what testing is and why it is important.

361