DataFormView Properties
An edit form for a data object.| Name | Description |
|---|---|
| ActualAppearance | Gets the common appearance settings that are applied to the current DataFormView. |
| AllowCollapseGroups | Gets or sets whether users can collapse and expand groups of editors. This is a bindable property. |
| AnchorX | Gets or sets the X component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement. |
| AnchorY | Gets or sets the Y component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement. |
| AutomationId | Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element. |
| Background | Gets or sets the Brush which will be used to fill the background of an element. This is a bindable property. Inherited from VisualElement. |
| BackgroundColor | Gets or sets the Color which will fill the background of an element. This is a bindable property. Inherited from VisualElement. |
| Batched | Gets a value that indicates there are batched changes done for this element. Inherited from VisualElement. |
| Behaviors | Gets the list of Behavior objects associated to this element. This is a read-only bindable property. Inherited from VisualElement. |
| BindingContext |
Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property. Inherited from BindableObject. |
| Bounds | Gets the bounds of the element in device-independent units. Inherited from VisualElement. |
| class | Gets or sets the style classes for the element. Inherited from NavigableElement. |
| ClassId | Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element. |
| Clip | Specifies the clipping region for an element. This is a bindable property. Inherited from VisualElement. |
| CommitMode | Gets or sets when to commit values that users enter in the data form’s editors to the bound data object. This is a bindable property. |
| ContentPadding | Gets or sets the distance between editors and the data form’s borders or group headers.This is a bindable property. |
| DataObject | Gets or sets a data object edited via the data form. This is a bindable property. |
| DesiredSize | Gets the size that this element computed during the measure pass of the layout process. Inherited from VisualElement. |
| DisableLayout | Gets a value that indicates that layout for this element is disabled. Inherited from VisualElement. |
| Dispatcher |
Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s). Inherited from BindableObject. |
| EditorBottomTextFontAttributes | Gets or sets whether an editor’s help and error text is bold or italic. This is a bindable property. |
| EditorBottomTextFontFamily | Gets or sets the font family name for an editor’s help and error text. This is a bindable property. |
| EditorBottomTextFontSize | Gets or sets the font size of an editor’s help and error text. This is a bindable property. |
| EditorBoxMode | Gets or sets whether the data form’s editors are outlined with borders or the border is displayed only for editors’ bottom edges. This is a bindable property. |
| EditorErrorColor | Gets or sets the color of editor borders, in-place labels, error icons, and error messages if there are input errors. This is a bindable property. |
| EditorHelpTextColor | Gets or sets the color of help text displayed below editors. This is a bindable property. |
| EditorHorizontalSpacing | Gets or sets the distance between editors in a row. This is a bindable property. |
| EditorLabelColor | Gets or sets the color of editor labels (text or icons). This is a bindable property. |
| EditorLabelFontAttributes | Gets or sets the font style for editor text labels. This is a bindable property. |
| EditorLabelFontFamily | Gets or sets the font family name for editor text labels. This is a bindable property. |
| EditorLabelFontSize | Gets or sets the font size for editor text labels. This is a bindable property. |
| EditorLabelHorizontalAlignment | Gets or sets the horizontal alignment of labels displayed above editors. This is a bindable property. |
| EditorLabelIndent | Gets or sets the distance between editors and their labels. This is a bindable property. |
| EditorLabelMaxWidth | Gets or sets the maximum width of the data form’s editor labels. This is a bindable property. |
| EditorLabelMinWidth | Gets or sets the minimum width of the data form’s editor labels. This is a bindable property. |
| EditorLabelPosition | Gets or sets the position of labels relative to editors. This is a bindable property. |
| EditorLabelWidth | Gets or sets the width of the data form’s editor labels. This is a bindable property. |
| EditorMaxWidth | Gets or sets the maximum width of the data form’s editors. This is a bindable property. |
| EditorMinWidth | Gets or sets the minimum width of the data form’s editors. This is a bindable property. |
| EditorPadding | Gets or sets the distance between edges of the data form’s items and their content (editors and labels). This is a bindable property. |
| EditorWidth | Gets or sets the width of the data form’s editors. This is a bindable property. |
| EffectControlProvider | For internal use by .NET MAUI. Inherited from Element. |
| Effects | Gets or sets the styles and properties that will be applied to the element during runtime. Inherited from Element. |
| FlowDirection | Gets or sets the layout flow direction. This is a bindable property. Inherited from VisualElement. |
| FontAutoScalingEnabled | Gets or sets whether text is scaled according to the operating system’s text scale setting. This is a bindable property. |
| Frame | Gets or sets the frame this element resides in on screen. Inherited from VisualElement. |
| GestureRecognizers | The collection of gesture recognizers associated with this view. Inherited from View. |
| GroupHeaderBackgroundColor | Gets or sets the background color for headers of editor groups. This is a bindable property. |
| GroupHeaderFontAttributes | Gets or sets the font style for header captions of editor groups. This is a bindable property. |
| GroupHeaderFontFamily | Gets or sets the font family name for header captions of editor groups. This is a bindable property. |
| GroupHeaderFontSize | Gets or sets the font size for header captions of editor groups. This is a bindable property. |
| GroupHeaderPadding | Gets or sets the distance between the edges of the data form’s group headers and their content. This is a bindable property. |
| GroupHeaderTextColor | Gets or sets the text color for header captions of editor groups. This is a bindable property. |
| Groups | Gets the collection of the DataFormView groups. |
| Handler | Gets or sets the IViewHandler associated to this element. Inherited from VisualElement. |
| Height | Gets the current rendered height of this element. This is a read-only bindable property. Inherited from VisualElement. |
| HeightRequest | Gets or sets the desired height override of this element. This is a bindable property. Inherited from VisualElement. |
| HorizontalOptions | Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View. |
| Id | Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element. |
| IgnoreDataAnnotationValidation | Gets or sets whether the DataFormView ignores validation attributes defined for items. |
| InputTransparent | Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property. Inherited from VisualElement. |
| IsAutoGenerationEnabled | Gets or sets whether the DataFormView automatically generates data form items (data editors) for the DataObject properties. |
| IsEditorLabelVisible | Gets or sets whether the data form displays editor labels. This is a bindable property. |
| IsEnabled | Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property. Inherited from VisualElement. |
| IsFocused | Gets a value indicating whether this element is focused currently. This is a bindable property. Inherited from VisualElement. |
| IsGroupHeaderVisible | Gets or sets whether the data form displays headers for groups of editors. This is a bindable property. |
| IsLastRowSeparatorVisible | Gets or sets whether a row separator line is displayed below the bottom row of editors on the data form. This is a bindable property. |
| IsPlatformEnabled | Gets or sets a value that indicates whether this elements’s platform equivalent element is enabled. Inherited from VisualElement. |
| IsReadOnly | Gets or sets whether the DataFormView is read-only. This is a bindable property. |
| IsVisible | Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property. Inherited from VisualElement. |
| Items | Gets the collection of the data form’s editors. |
| LogicalChildren | For internal use by the Microsoft.Maui.Controls platform. Inherited from Element. |
| Margin | Gets or set the margin for the view. Inherited from View. |
| MinimumHeightRequest | Gets or sets the minimum height the element will request during layout. This is a bindable property. Inherited from VisualElement. |
| MinimumWidthRequest | Gets or sets the minimum width the element will request during layout. This is a bindable property. Inherited from VisualElement. |
| Navigation | Gets the object responsible for handling stack-based navigation. Inherited from NavigableElement. |
| NavigationProxy | Gets the cast of Navigation to a NavigationProxy. Inherited from NavigableElement. |
| Opacity | Gets or sets the opacity value applied to the element when it is rendered. The range of this value is 0 to 1; values outside this range will be set to the nearest valid value. This is a bindable property. Inherited from VisualElement. |
| Parent | Gets or sets the parent Element of this element. Inherited from Element. |
| PickerSourceProvider | Gets or sets the data source used to generate drop-down list items of combo box editors. This is a bindable property. |
| RealParent | For internal use by .NET MAUI. Inherited from Element. |
| ReserveBottomTextLine | Gets or sets whether a line for help and error text below each editor is reserved. This is a bindable property. |
| Resources | Gets or sets the local resource dictionary. Inherited from VisualElement. |
| Rotation | Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement. |
| RotationX | Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement. |
| RotationY | Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement. |
| RowSeparatorColor | Gets or sets the color of lines that separate rows of editors on the data form. This is a bindable property. |
| RowSeparatorThickness | Gets or sets the thickness of lines that separate rows of editors on the data form. This is a bindable property. |
| Scale | Gets or sets the scale factor applied to the element. This is a bindable property. Inherited from VisualElement. |
| ScaleX | Gets or sets a scale value to apply to the X direction. This is a bindable property. Inherited from VisualElement. |
| ScaleY | Gets or sets a scale value to apply to the Y direction. This is a bindable property. Inherited from VisualElement. |
| Style | Gets or sets the unique Style for this element. Inherited from NavigableElement. |
| StyleClass | Gets or sets the style classes for the element. Inherited from NavigableElement. |
| StyleId | Gets or sets a user defined value to uniquely identify the element. Inherited from Element. |
| TranslationX | Gets or sets the X translation delta of the element. This is a bindable property. Inherited from VisualElement. |
| TranslationY | Gets or sets the Y translation delta of the element. This is a bindable property. Inherited from VisualElement. |
| Triggers | Gets the list of TriggerBase objects associated to this element. This is a read-only bindable property. Inherited from VisualElement. |
| ValidationMode | Gets or sets when to validate values that users enter in the data form’s editors. This is a bindable property. |
| VerticalOptions | Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View. |
| Visual | Gets or sets a IVisual implementation that overrides the visual appearance of an element. This is a bindable property. Inherited from VisualElement. |
| Width | Gets the current width of this element. This is a read-only bindable property. Inherited from VisualElement. |
| WidthRequest | Gets or sets the desired width override of this element. This is a bindable property. Inherited from VisualElement. |
| X | Gets the current X position of this element. This is a read-only bindable property. Inherited from VisualElement. |
| Y | Gets the current Y position of this element. This is a read-only bindable property. Inherited from VisualElement. |
See Also