.NET MAUI DataForm - Create Interactive Data Entry Forms
- The flexible .NET MAUI DataForm with editors to create and edit forms easily.
- Enables data validation and different data commit modes for reliable and flexible form processing.
- Supports grouping, linear layouts, and grid layouts for organizing and structuring form fields.
Trusted by the world’s leading companies
Overview
The .NET MAUI DataForm control is used to display and edit data using a wide range of built-in and custom editors for any kind of data form, such as login, reservation, employee information forms, contact forms, and more. It supports data validation, data handling, grouping, and linear and grid layouts. Users can easily customize editors, groups, labels, and validation labels’ appearances.
.NET MAUI DataForm Code Example
Easily get started with the .NET MAUI DataForm using a few simple lines of XAML code example as demonstrated below. Also explore our .NET MAUI DataForm Example that shows you how to render and configure the .NET MAUI DataForm.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:dataForm="clr-namespace:Syncfusion.Maui.DataForm;assembly=Syncfusion.Maui.DataForm"
xmlns:local ="clr-namespace:GettingStarted"
x:Class="GettingStarted.MainPage">
<ContentPage.BindingContext>
<local:DataFormViewModel/>
</ContentPage.BindingContext>
<dataForm:SfDataForm x:Name="dataForm"
DataObject="{Binding ContactsInfo}"/>
</ContentPage>Editors
The DataForm control supports built-in editors for primitive data types such as string, enumeration, DateTime, and TimeSpan, as well as custom editors to enhance the user experience.
Password editor
Permits the entry and modification of password text, ensuring secure input.
Multi-line editor
Facilitates the input and editing of multiple lines of text.
Numeric editor
Supports a variety of numeric formats for advanced input, including currency, percentages, and decimals.
Numeric up-down editor
Allows users to increment and decrement numeric values through intuitive buttons.
Masked text editor
Advanced input control that restricts characters and numbers based on a predefined mask pattern.
Autocomplete editor
Optimized for quick loading and suggestion population from extensive datasets based on user input.
Combo box editor
Selection control enabling users to type a value or choose from a list of predefined options.
Checkbox editor
A button that can be either checked or empty, providing a binary input option.
Switch editor
Horizontal toggle button allowing users to switch between on and off states.
Radio group editor
Button type for selecting one option from a set, with each option represented by a radio button.
Time picker
Enables users to select a specific time within a user-friendly interface.
Grouping
The .NET MAUI DataForm allows users to group editors that are related to one other.
Validation
The .NET MAUI DataForm control supports validating data or user input before it is committed to the underlying data object by showing the error to alert the user to fill proper details in the data form or that it is a valid message. It supports different validation modes such as LostFocus, PropertyChanged, and manual to determine when the value should be validated.
Layouts
The .NET MAUI DataForm supports linear and grid layouts to design data forms as required.
Linear layout
In linear layout, editors are arranged one by one or in a single column.
Grid layout
In a grid layout, editors are arranged into a predefined number of columns.
Commit (Editing) mode
The .NET MAUI DataForm control determines when an edited value should be updated in the underlying data object to allow users commit only correct values. It supports different commit modes such as LostFocus, PropertyChanged, and manual.
Read-Only mode
The .NET MAUI DataForm supports the read-only display mode. It also allows users to set specific fields or editors to be read-only.
Manually create data form items
By default, data form items (label and editor) are generated based on the data type. Users can also manually create data form items easily.
Appearance customization
Users can easily customize the appearance of labels, editors, validation labels, and group headers in .NET MAUI DataForm.
Right to left (RTL)
The .NET MAUI DataForm supports right to left direction for users working with RTL languages like Hebrew, Arabic, and more.
Localization
The .NET MAUI DataForm supports localizing label text, group names, watermarks, and validation messages in the desired language.
Not sure how to create your first .NET MAUI DataForm? Our tutorial videos and documentation can help.
I’d love to watch it now I’d love to read it nowFrequently Asked Questions
Why should you choose the Syncfusion .NET MAUI DataForm?
The Syncfusion .NET MAUI DataForm control supports the following features:
Built-in editors like text, password, combo box, and date for primitive data types such as string, enumeration, DateTime, and TimeSpan.
Users can seamlessly integrate custom editors into the DataForm to meet specific requirements.
Built-in validation to ensure proper user input.
- Users determine when values should be committed to the underlying data object, providing control over the data interaction process.
A powerful floating label layout enhances usability with assistive labels, leading and trailing icons, and a password toggle icon.
- Grouping, linear, and grid layouts offer well-organized and visually appealing data forms.
Users can explicitly add data editors using DataForm items or a custom data dictionary, allowing more efficient data editing process.
Simple configuration and APIs.
- Mobile-touch friendly.
- One of the best .NET MAUI DataForm in the market, offering feature-rich UI to interact with the software.
Extensive demos, documentation, and videos to let you get started quickly with the .NET MAUI DataForm.
Where can I find the Syncfusion .NET MAUI DataForm demo?
You can find our .NET MAUI DataForm demo, which demonstrates how to render and configure the DataForm.
Can I download and utilize the Syncfusion .NET MAUI DataForm for free?
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
How do I get started with Syncfusion .NET MAUI DataForm?
A good place to start would be our comprehensive getting started documentation.
.NET MAUI DataViz & UI Controls
Our Customers Love Us
Here are some of their experiences.
Awards
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.