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

Chapter 6 Creating Our Own Layout

<layouts:BoardLayout ItemsSource="{Binding Widgets}" ItemTemplateSelector="{Binding Widget TemplateSelector}"> <layouts:BoardLayout.LayoutManager>

<layouts:FixedLayoutManager NumberOfColumns="{Binding NumberOfColumns}" NumberOfRows="{Binding NumberOfRows}" />

</layouts:BoardLayout.LayoutManager>

</layouts:BoardLayout>

</ContentPage>

This now includes your shiny new BoardLayout complete with all the bindings you have created to make it functional.

Summary

In this chapter, you

•\

Created your own layout

•\

Made use of a variety of options when adding bindable

 

properties

•\

Provided command support from your layout

•\

Used your layout in your application

In the next chapter, you will

•\

Gain an understanding of what accessibility is

•\

Learn why it is important to build inclusive

 

applications

197