Skip to main content

DataFormItem Properties

The base class for data form editors.
Name Description
ActualIsEnabled Gets the IsEnabled value that is applied to the current instance of the DataFormItem.
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 background color of the data form’s item. This is a bindable property.
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.
BottomTextFontAttributes Gets or sets whether the editor’s help and error text is bold or italic. This is a bindable property.
BottomTextFontFamily Gets or sets the name of the font for the editor’s help and error text. This is a bindable property.
BottomTextFontSize Gets or sets the font size of the editor’s help and error text. This is a bindable property.
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.
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.
EditorMaxWidth Gets or sets the maximum width of the edit box. This is a bindable property.
EditorMinWidth Gets or sets the minimum width of the edit box. This is a bindable property.
EditorWidth Gets or sets the width of the edit box. 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.
ErrorColor Gets or sets the color of the editor’s borders, in-place label, error icon, and error message. This is a bindable property.
FieldName Gets or sets the name of the data object’s property to which the editor is bound. This is a bindable property.
FlowDirection Gets or sets the layout flow direction. This is a bindable property. Inherited from VisualElement.
Frame Gets or sets the frame this element resides in on screen. Inherited from VisualElement.
GroupName Gets or sets the name of the group that contains the editor. This is a bindable property.
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.
HelpText Gets or sets the input prompt string displayed below the edit box. This is a bindable property.
HelpTextColor Gets or sets the color of help text displayed below the editor. This is a bindable property.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
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.
IsEnabled Gets or sets whether the item is enabled. This is a bindable property.
IsFocused Gets a value indicating whether this element is focused currently. This is a bindable property. Inherited from VisualElement.
IsLabelVisible Gets or sets whether the data form displays a label for the editor. 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.
IsVisible Gets or sets whether the editor is visible on the data form. This is a bindable property.
ItemOrderInRow Gets or sets the editor’s position in a row. This is a bindable property.
LabelColor Gets or sets the color of the editor’s label (text or icon). This is a bindable property.
LabelFontAttributes Gets or sets the font style for the editor’s text label. This is a bindable property.
LabelFontFamily Gets or sets the font family name for the editor’s text label. This is a bindable property.
LabelFontSize Gets or sets the font size for the editor’s text label. This is a bindable property.
LabelHorizontalAlignment Gets or sets the horizontal alignment of a label displayed above the editor. This is a bindable property.
LabelIcon Gets or sets an image used as the editor’s label. This is a bindable property.
LabelIndent Gets or sets the distance between the editor and its label. This is a bindable property.
LabelMaxWidth Gets or sets the maximum width of the editor’s label. This is a bindable property.
LabelMinWidth Gets or sets the minimum width of the editor’s label. This is a bindable property.
LabelPosition Gets or sets the position of a label relative to the editor. This is a bindable property.
LabelText Gets or sets the editor’s label text. This is a bindable property.
LabelWidth Gets or sets the width of the editor’s label. This is a bindable property.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
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.
Padding Gets or sets the distance between the data form item’s edges and content (editor and label). This is a bindable property.
Parent Gets or sets the parent Element of this element. Inherited from Element.
RealParent For internal use by .NET MAUI. Inherited from Element.
ReserveBottomTextLine Gets or sets whether a line for help and error text below the 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.
RowOrder Gets or sets the row in which the editor is located. This is a bindable property.
RowSpan Gets or sets the number of layout rows that this item spans. 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.
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