The data form control helps edit the fields of any data object and simplifies the development of various forms, such as login, reservation, and data entry. Key features include different layouts, grouping, support for built-in and custom editors, validation, and data annotations.
The data form includes built-in support for various editors to handle different data types, as well as custom editors. Built-in editors are automatically generated based on data annotations and the type of field. The following built-in editors are available:
Editing support with LostFocus, PropertyChanged, and Explicit commit modes determine when an edited value should be updated in the data object.
The data form supports a read-only display mode that also allows specific fields to be made read-only.
Provides support for linear and grid layouts. The linear layout arranges items in a single column, whereas the grid layout arranges items in a predefined number of columns.
Labels can be positioned to the left or the top of the editor.
Each data field’s width and height can be customized. The width ratio of labels and editors can also be customized.
Display watermarks to guide end users.
The label can be displayed with image also for better illustration.
Data form fields can be customized based data annotation attributes.