Click or drag to resize
RadDataForm Class
Provides UI and logic for displaying and editing data in a from layout.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Data (in Telerik.Windows.Controls.Data.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadDataForm : Control, 
	IDisposable, IThemable

The RadDataForm type exposes the following members.

Constructors
  NameDescription
Public methodRadDataForm
Initializes a new instance of the RadDataForm class.
Top
Methods
  NameDescription
Public methodAcquireFocus
RadDataForm tries to acquire the keyboard focus.
Public methodAddNewItem
Adds a new item.
Public methodBeginEdit
Begins edit on the current item.
Public methodCancelEdit
Cancels the edit on the current item.
Public methodCommitEdit
Commits the edit of the current item and exits editing mode.
Public methodCommitEdit(Boolean)
Commits the edit of the current item.
Public methodDeleteItem
Deletes the current item.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodGetValidationResults
Gets the validation results for the current item.
Public methodMoveCurrentToFirst
Moves the current item to the first position.
Public methodMoveCurrentToLast
Moves the current item to the last position.
Public methodMoveCurrentToNext
Moves the current item to the next position.
Public methodMoveCurrentToPosition
Moves the current item to the specified position.
Public methodMoveCurrentToPrevious
Protected methodOnAddedNewItem
Raises the AddedNewItem event.
Protected methodOnAddingNewItem
Raises the AddingNewItem event.
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnBeginningEdit
Raises the BeginningEdit event.
Protected methodOnCreateAutomationPeer
Returns an automation peer for this RadDataForm.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnDeletedItem
Raises the DeletedItem event.
Protected methodOnDeletingItem
Raises the DeletingItem event.
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Public methodOnInitializingNewItem
Raises the InitializingNewItem event.
Protected methodOnItemEditEnded
Raises the EditEnded event.
Protected methodOnItemEditEnding
Raises the EditEnding event.
Public methodOnLoaded
Called when the Loaded event occurs.
Protected methodOnMouseLeftButtonDown
Called when the root ScrollViewer's MouseLeftButtonDown event is fired.
(Overrides UIElementOnMouseLeftButtonDown(MouseButtonEventArgs).)
Public methodOnUnloaded
Called when the Unloaded event occurs.
Protected methodOnValidatingItem
Raises the ValidatingItemEvent.
Public methodResetTheme
Resets the theme.
Public methodValidateItem
Checks if data current item is valid .
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberAutoCommitProperty
Represents the AutoCommit dependency property.
Public fieldStatic memberAutoEditProperty
Identifies the AutoEdit dependency property.
Public fieldStatic memberAutoGenerateFieldsProperty
Represents the AutoGenerateFields dependency property.
Public fieldStatic memberCanAddItemsProperty
Identifies the CanAddItems dependency property.
Public fieldStatic memberCanBeginEditProperty
Identifies the CanBeginEdit dependency property.
Public fieldStatic memberCanCancelEditProperty
Identifies the CanCancelEdit dependency property.
Public fieldStatic memberCancelButtonContentProperty
Represents the CancelButtonContent dependency property.
Public fieldStatic memberCancelButtonStyleProperty
Represents the CancelButtonStyle dependency property.
Public fieldStatic memberCanCommitEditProperty
Identifies the CanCommitEdit dependency property.
Public fieldStatic memberCanDeleteItemsProperty
Identifies the CanDeleteItems dependency property.
Public fieldStatic memberCanMoveCurrentToFirstProperty
Identifies the CanMoveCurrentToFirst dependency property.
Public fieldStatic memberCanMoveCurrentToLastProperty
Identifies the CanMoveCurrentToLast dependency property.
Public fieldStatic memberCanMoveCurrentToNextProperty
Identifies the CanMoveCurrentToNext dependency property.
Public fieldStatic memberCanMoveCurrentToPositionProperty
Identifies the CanMoveCurrentToPosition dependency property.
Public fieldStatic memberCanMoveCurrentToPreviousProperty
Identifies the CanMoveCurrentToPrevious dependency property.
Public fieldStatic memberCommandButtonsVisibilityProperty
Represents the CommandButtonsVisibility dependency property.
Public fieldStatic memberCommandProviderProperty
Represents the CommandProvider DependencyProperty.
Public fieldStatic memberCommitButtonContentProperty
Represents the CommitButtonContent dependency property.
Public fieldStatic memberCommitButtonStyleProperty
Represents the CommitButtonStyle dependency property.
Public fieldStatic memberCurrentIndexProperty
Represents the CurrentIndex dependency property.
Public fieldStatic memberCurrentItemProperty
Represents the CurrentItem property.
Public fieldStatic memberDataFieldStyleProperty
Represents the DataFieldStyle dependency property.
Public fieldStatic memberEditTemplateProperty
Represents the EditTemplate dependency property.
Public fieldStatic memberEditTemplateSelectorProperty
Represents the EditTemplateSelector dependency property.
Public fieldStatic memberEnablePropertyChangedBasedCancelProperty
Represents the EnablePropertyChangedBasedCancel DependencyProperty.
Public fieldStatic memberHeaderProperty
/Represents the Header property.
Public fieldStatic memberIsEmptyProperty
Identifies the IsEmpty dependency property.
Public fieldStatic memberIsItemChangedProperty
Identifies the IsItemChanged dependency property.
Public fieldStatic memberItemsSourceProperty
Identifies the ItemsSource dependency property.
Public fieldStatic memberLabelPositionProperty
Represents the LabelPosition dependency property.
Public fieldStatic memberLabelStyleProperty
Represents the LabelStyle dependencyProperty.
Public fieldStatic memberModeProperty
Identifies the Mode dependency property.
Public fieldStatic memberNewItemTemplateProperty
Represents the NewItemTemplate dependency property.
Public fieldStatic memberReadOnlyTemplateProperty
Represents the ReadOnlyTemplate dependency property.
Public fieldStatic memberReadOnlyTemplateSelectorProperty
Represents the ReadOnlyTemplateSelector dependency property.
Public fieldStatic memberValidationSummaryProperty
Represents the ValidationSummary property.
Public fieldStatic memberValidationSummaryStyleProperty
Represents the ValidationSummaryStyleProperty.
Public fieldStatic memberValidationSummaryVisibilityProperty
Represents the ValidationSummaryVisibilityProperty.
Top
Properties
  NameDescription
Public propertyAutoCommit
Controls whether edited item will be committed on changing the current item.
Public propertyAutoEdit
Gets or sets a value indicating whether DataForm should automatically enter edit mode.
Public propertyAutoGenerateFields
Gets or sets a value indicating whether fields will be auto-generated.
Public propertyCanAddItems
Gets a value that indicates whether the user can add items.
Public propertyCanBeginEdit
Gets a value that indicates whether an edit of the current item can be started.
Public propertyCanCancelEdit
Gets a value that indicates whether an edit of the current item can be canceled.
Public propertyCancelButtonContent
Gets or sets the content of the Cancel button.
Public propertyCancelButtonStyle
The style for the Cancel button.
Public propertyCanCommitEdit
Gets a value that indicates whether an edit of the current item can be committed.
Public propertyCanDeleteItems
Gets a value that indicates whether the user can Delete items.
Public propertyCanMoveCurrentToFirst
Gets a value that indicates whether the user can move the current item to the first position.
Public propertyCanMoveCurrentToLast
Gets a value that indicates whether the user can move the current item to the last position.
Public propertyCanMoveCurrentToNext
Gets a value that indicates whether the user can move the current item to the next position.
Public propertyCanMoveCurrentToPosition
Gets a value that indicates whether the user can move the current item to another position.
Public propertyCanMoveCurrentToPrevious
Gets a value that indicates whether the user can move the current item to the previous position.
Public propertyCommandButtonsVisibility
Gets or sets the command buttons visibility.
Public propertyCommandProvider
Exposes a DataFormCommandProvider.
Public propertyCommitButtonContent
Gets or sets the content of the Cancel button.
Public propertyCommitButtonStyle
The style for the Commit button.
Public propertyCurrentIndex
The index of the current item in the source collection.
Public propertyCurrentItem
Gets or sets the current item.
Public propertyDataFieldStyle
Gets or sets the style to be applied to data fields in data form.
Public propertyEditTemplate
Gets or sets the data template to be used in edit mode.
Public propertyEditTemplateSelector
Gets or sets the EditTemplateSelector.
Public propertyEnablePropertyChangedBasedCancel
Gets or sets a value indicating whether PropertyChanged based cancelling logic is enabled.
Public propertyHeader
Gets or sets the content of the Header.
Public propertyIsEmpty
Indicates whether the data form is empty.
Public propertyIsItemChanged
Gets a value that indicates whether the current item was changed.
Protected propertyItemsScrollViewer
Gets RadDataForm's root ScrollViewer element.
Public propertyItemsSource
Gets or sets the items source.
Public propertyLabelPosition
Gets or sets the position of labels in data fields in RadDataForm.
Public propertyLabelStyle
Gets or sets the style for data field labels.
Public propertyMode
Gets the current mode.
Public propertyNewItemTemplate
Gets or sets the data template to be used when adding new item.
Public propertyReadOnlyTemplate
Gets or sets the data template to be used in ReadOnly mode.
Public propertyReadOnlyTemplateSelector
Gets or sets the ReadOnlyTemplate selector.
Public propertyValidationSummary
Gets the validation summary associated with this instance of RadDataForm.
Public propertyValidationSummaryStyle
Gets or sets the style to be applied to the inner items control representing validation errors.
Public propertyValidationSummaryVisibility
Gets or sets the validation summary visibility.
Top
Events
  NameDescription
Public eventAddedNewItem
Occurs when a new item was just added.
Public eventAddingNewItem
Occurs when a new item is being added.
Public eventAutoGeneratingField
Occurs when a data field is being generated.
Public eventBeginningEdit
Occurs when an edit operation on the current item is beginning.
Public eventCurrentItemChanged
Occurs when the current item has changed.
Public eventDeletedItem
Occurs after the current item was deleted.
Public eventDeletingItem
Occurs on deleting the current item.
Public eventEditEnded
Occurs after the current item was edited.
Public eventEditEnding
Occurs when the edit of the current item is ending.
Public eventInitializingNewItem
Occurs when a new item is being added.
Public eventValidatingItem
Occurs when the current item is being validated.
Top
See Also