.NET MAUI DataForm Styling
The DataForm control for .NET MAUI provides styling options for customizing its appearance. You can style the DataForm itself, as well as its editors, groups, error messages and validation messages.
The control supports the following styling properties:
-
BackgroundColor
—Defines the background color of the DataForm. -
BorderColor
—Defines the border color of the DataForm. -
BorderThickness
—Specifies the border thickness of the DataForm.
The following example demonstrate how to use the styling properties of the DataForm:
<telerik:RadDataForm x:Name="dataForm"
BackgroundColor="#E0E9FC"
BorderColor="#8660C5"
BorderThickness="2">
<telerik:RadDataForm.BindingContext>
<local:DataTypeEditorsModel />
</telerik:RadDataForm.BindingContext>
</telerik:RadDataForm>