Back to Devexpress

DataFormView Class

maui-devexpress-dot-maui-dot-dataform-e5a68593.md

latest4.8 KB
Original Source

DataFormView Class

An edit form for a data object.

Namespace : DevExpress.Maui.DataForm

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
[ContentProperty("Items")]
[DXLicenseMAUI]
public class DataFormView :
    View,
    IDXViewController,
    IAppearanceOwner,
    IVisualTreeElement

Remarks

The DataFormView is a component that allows your users to review and edit business objects. The DataObject property allows you to specify the data object to be edited. The view automatically generates data editors for each field in the bound business object. To disable automatic editor generation, set the IsAutoGenerationEnabled property to false.

For more information about the DataFormView control, refer to the following help topics:

OverviewContains basic information about DataFormView.Get Started with DataFormViewThis step-by-step tutorial guides you through creating an app with a DataFormView.Data ValidationRead this help topic to learn how to validate the user input before it is committed to the underlying data object. The DataFormView component allows you to validate data in the following ways: you can annotate data fields with attributes, handle validation events, or your data object can implement an interface that notifies you about errors. The component also supports various commit modes: on value change, editor focus change, and on demand.EditorsThis help topic describes data editors that are available in the DataFormView control. The DataFormView component generates editors based on the data type of fields in the bound business object. You can also populate a DataFormView with editors manually.LabelsThis help topic describes different types of text labels you can add to a DataFormView.GroupsThis article explains how to group DataFormView editors.Layout and AppearanceRead this help topic to learn how to position editors in a DataFormView, and specify its appearance settings.ExamplesLists task-based solutions that use the DataFormView control.

Implements

Show 15 items

INotifyPropertyChanged

IAnimatable

Microsoft.Maui.Controls.ITabStopElement

IViewController

IVisualElementController

IElementController

IGestureController

IGestureRecognizers

IPropertyMapperView

IHotReloadableView

IView

Microsoft.Maui.IFrameworkElement

ITransform

IReplaceableView

IVisualTreeElement

Inheritance

System.Object BindableObject Element NavigableElement VisualElement View DataFormView

Extension Methods

Yield<DataFormView>()

YieldIfNotNull<DataFormView>()

See Also

DataFormView Members

DevExpress.Maui.DataForm Namespace