.NET MAUI DataForm Custom Layout Definition
The DataFormCustomLayout
definition allows you to arrange the items using a custom layout.
To build the custom layout you have to use the LayoutTemplate
(DataTemplate
) property.
Here is the DataForm XAML definition with CustomLayout
applied using a RadWrapLayout
:
Note that local
in the snippet above points to the namespace where the EditorsViewModel
is defined.
Define the ViewModel
for the DataForm BindingContext
: