Skip to main content

DataFormView Members

An edit form for a data object.

Constructors

Name Description
DataFormView() Initializes a new instance of the DataFormView class.

Fields

Name Description
AllowCollapseGroupsProperty static Identifies the AllowCollapseGroups dependency property.
CommitModeProperty static Identifies the CommitMode dependency property.
ContentPaddingProperty static Identifies the ContentPadding dependency property.
DataObjectProperty static Identifies the DataObject dependency property.
EditorBottomTextFontAttributesProperty static Identifies the EditorBottomTextFontAttributes dependency property.
EditorBottomTextFontFamilyProperty static Identifies the EditorBottomTextFontFamily dependency property.
EditorBottomTextFontSizeProperty static Identifies the EditorBottomTextFontSize dependency property.
EditorBoxModeProperty static Identifies the EditorBoxMode dependency property.
EditorErrorColorProperty static Identifies the EditorErrorColor dependency property.
EditorHelpTextColorProperty static Identifies the EditorHelpTextColor dependency property.
EditorHorizontalSpacingProperty static Identifies the EditorHorizontalSpacing dependency property.
EditorLabelColorProperty static Identifies the EditorLabelColor dependency property.
EditorLabelFontAttributesProperty static Identifies the EditorLabelFontAttributes dependency property.
EditorLabelFontFamilyProperty static Identifies the EditorLabelFontFamily dependency property.
EditorLabelFontSizeProperty static Identifies the EditorLabelFontSize dependency property.
EditorLabelHorizontalAlignmentProperty static Identifies the EditorLabelHorizontalAlignment dependency property.
EditorLabelIndentProperty static Identifies the EditorLabelIndent dependency property.
EditorLabelMaxWidthProperty static Identifies the EditorLabelMaxWidth dependency property.
EditorLabelMinWidthProperty static Identifies the EditorLabelMinWidth dependency property.
EditorLabelPositionProperty static Identifies the EditorLabelPosition dependency property.
EditorLabelWidthProperty static Identifies the EditorLabelWidth dependency property.
EditorMaxWidthProperty static Identifies the EditorMaxWidth dependency property.
EditorMinWidthProperty static Identifies the EditorMinWidth dependency property.
EditorPaddingProperty static Identifies the EditorPadding dependency property.
EditorWidthProperty static Identifies the EditorWidth dependency property.
GroupHeaderBackgroundColorProperty static Identifies the GroupHeaderBackgroundColor dependency property.
GroupHeaderFontAttributesProperty static Identifies the GroupHeaderFontAttributes dependency property.
GroupHeaderFontFamilyProperty static Identifies the GroupHeaderFontFamily dependency property.
GroupHeaderFontSizeProperty static Identifies the GroupHeaderFontSize dependency property.
GroupHeaderPaddingProperty static Identifies the GroupHeaderPadding dependency property.
GroupHeaderTextColorProperty static Identifies the GroupHeaderTextColor dependency property.
IgnoreDataAnnotationValidationProperty static Identifies the IgnoreDataAnnotationValidation dependency property.
IsAutoGenerationEnabledProperty static Identifies the IsAutoGenerationEnabled dependency property.
IsEditorLabelVisibleProperty static Identifies the IsEditorLabelVisible dependency property.
IsGroupHeaderVisibleProperty static Identifies the IsGroupHeaderVisible dependency property.
IsLastRowSeparatorVisibleProperty static Identifies the IsLastRowSeparatorVisible dependency property.
IsReadOnlyProperty static Identifies the IsReadOnly dependency property.
PickerSourceProviderProperty static Identifies the PickerSourceProvider dependency property.
ReserveBottomTextLineProperty static Identifies the ReserveBottomTextLine dependency property.
RowSeparatorColorProperty static Identifies the RowSeparatorColor dependency property.
RowSeparatorThicknessProperty static Identifies the RowSeparatorThickness dependency property.
ValidationModeProperty static Identifies the ValidationMode dependency property.

Properties

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.

Methods

Name Description
Commit() Commits values in data editors on the form to the underlying data object.
GetValue(String)
RegisterGroup(DataFormGroup)
Validate() Validates all data fields on the form according to the current validation logic.
Validate(String) Validates the specified data field according to the current validation logic.

Events

Name Description
GeneratePropertyItem
ValidateForm Allows you to validate all data editors on the form.
ValidateProperty Allows you to validate a specific data editor on the form.
See Also