Floating Label Layout In MAUI Dataform

Updated on Sep 17, 2024
dataform-customization dataform-editor floating-layout maui maui-dataform

This sample demonstrates how to customize the Floating Label Layout in MAUI DataForm control within a .NET MAUI application. You'll also see how to add icons at the beginning and end of the label, display helper text that provide information for filling out the input field and customize the appearance of the data form.

Sample

<dataForm:SfDataForm DataObject="{Binding Info}"
                     LayoutType="TextInputLayout"
                     GenerateDataFormItem="SfDataForm_GenerateDataFormItem">
</dataForm:SfDataForm>

Requirements to run the demo

To run the demo, refer to System Requirements for .NET MAUI

Troubleshooting:

Path too long exception

If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.

License

Syncfusion has no liability for any damage or consequence that may arise from using or viewing the samples. The samples are for demonstrative purposes. If you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion's samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion's samples.