Skip to main content

DataFormView Properties

An edit form for a data object.
Name Description
AllowCollapseGroups Specifies whether users can collapse and expand groups of editors.
CommitMode Specifies when to commit values that users enter in the data form’s editors to the bound data object.
ContentPadding Gets or sets the distance between editors and the data form’s borders or group headers.
DataObject Gets or sets a data object edited via the data form.
EditorBottomTextFontAttributes Specifies whether an editor’s help and error text is bold or italic.
EditorBottomTextFontFamily Gets or sets the font family name for an editor’s help and error text.
EditorBottomTextFontSize Gets or sets the font size of an editor’s help and error text.
EditorBoxMode Specifies whether the data form’s editors are outlined with borders or the border is displayed only for editors’ bottom edges.
EditorErrorColor Specifies the color of editor borders, in-place labels, error icons, and error messages if there are input errors.
EditorHelpTextColor Specifies the color of help text displayed below editors.
EditorHorizontalSpacing Gets or sets the distance between editors in a row.
EditorLabelColor Specifies the color of editor labels (text or icons).
EditorLabelFontAttributes Gets or sets the font style for editor text labels.
EditorLabelFontFamily Gets or sets the font family name for editor text labels.
EditorLabelFontSize Gets or sets the font size for editor text labels.
EditorLabelHorizontalAlignment Gets or sets the horizontal alignment of labels displayed above editors.
EditorLabelIndent Gets or sets the distance between editors and their labels.
EditorLabelMaxWidth Gets or sets the maximum width of the data form’s editor labels.
EditorLabelMinWidth Gets or sets the minimum width of the data form’s editor labels.
EditorLabelPosition Gets or sets the position of labels relative to editors.
EditorLabelWidth Gets or sets the width of the data form’s editor labels.
EditorMaxWidth Gets or sets the maximum width of the data form’s editors.
EditorMinWidth Gets or sets the minimum width of the data form’s editors.
EditorPadding Gets or sets the distance between edges of the data form’s items and their content (editors and labels).
EditorWidth Gets or sets the width of the data form’s editors.
GroupHeaderBackgroundColor Gets or sets the background color for headers of editor groups.
GroupHeaderFontAttributes Gets or sets the font style for header captions of editor groups.
GroupHeaderFontFamily Gets or sets the font family name for header captions of editor groups.
GroupHeaderFontSize Gets or sets the font size for header captions of editor groups.
GroupHeaderPadding Gets or sets the distance between the edges of the data form’s group headers and their content.
GroupHeaderTextColor Gets or sets the text color for header captions of editor groups.
Groups
IgnoreDataAnnotationValidation
IsAutoGenerationEnabled
IsEditorLabelVisible Specifies whether the data form displays editor labels.
IsGroupHeaderVisible Specifies whether the data form displays headers for groups of editors.
IsLastRowSeparatorVisible Specifies whether a row separator line is displayed below the bottom row of editors on the data form.
IsReadOnly
Items Gets the collection of the data form’s editors.
PickerSourceProvider Specifies the data source used to generate drop-down list items of combo box editors.
ReserveBottomTextLine Allows you to reserve a line for help and error text below each editor.
RowSeparatorColor Gets or sets the color of lines that separate rows of editors on the data form.
RowSeparatorThickness Gets or sets the thickness of lines that separate rows of editors on the data form.
ValidationMode Specifies when to validate values that users enter in the data form’s editors.
See Also