Class
RadDataForm

Provides UI and logic for displaying and editing data in a from layout.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data")]
public class RadDataForm : Control, IDisposable

Inheritance: objectRadDataForm

Derived Classes: CardViewDataForm

Implements: IDisposable

Constructors

RadDataForm()

Initializes a new instance of the RadDataForm class.

Declaration

cs-api-definition
public RadDataForm()

Fields

AutoCommitProperty

Represents the AutoCommit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoCommitProperty

Field Value

DependencyProperty

AutoEditProperty

Identifies the AutoEdit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoEditProperty

Field Value

DependencyProperty

AutoGenerateFieldsProperty

Represents the AutoGenerateFields dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoGenerateFieldsProperty

Field Value

DependencyProperty

CanAddItemsProperty

Identifies the CanAddItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanAddItemsProperty

Field Value

DependencyProperty

The identifier for the CanAddItems dependency property.

CanBeginEditProperty

Identifies the CanBeginEdit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanBeginEditProperty

Field Value

DependencyProperty

The identifier for the CanBeginEdit dependency property.

CanCancelEditProperty

Identifies the CanCancelEdit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanCancelEditProperty

Field Value

DependencyProperty

The identifier for the CanCancelEdit dependency property.

CanCommitEditProperty

Identifies the CanCommitEdit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanCommitEditProperty

Field Value

DependencyProperty

The identifier for the CanCommitEdit dependency property.

CanDeleteItemsProperty

Identifies the CanDeleteItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanDeleteItemsProperty

Field Value

DependencyProperty

The identifier for the CanDeleteItems dependency property.

CanMoveCurrentToFirstProperty

Identifies the CanMoveCurrentToFirst dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanMoveCurrentToFirstProperty

Field Value

DependencyProperty

The identifier for the CanMoveCurrentToFirst dependency property.

CanMoveCurrentToLastProperty

Identifies the CanMoveCurrentToLast dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanMoveCurrentToLastProperty

Field Value

DependencyProperty

The identifier for the CanMoveCurrentToLast dependency property.

CanMoveCurrentToNextProperty

Identifies the CanMoveCurrentToNext dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanMoveCurrentToNextProperty

Field Value

DependencyProperty

The identifier for the CanMoveCurrentToNext dependency property.

CanMoveCurrentToPositionProperty

Identifies the CanMoveCurrentToPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanMoveCurrentToPositionProperty

Field Value

DependencyProperty

The identifier for the CanMoveCurrentToPosition dependency property.

CanMoveCurrentToPreviousProperty

Identifies the CanMoveCurrentToPrevious dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanMoveCurrentToPreviousProperty

Field Value

DependencyProperty

The identifier for the CanMoveCurrentToPrevious dependency property.

CancelButtonContentProperty

Represents the CancelButtonContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CancelButtonContentProperty

Field Value

DependencyProperty

CancelButtonStyleProperty

Represents the CancelButtonStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CancelButtonStyleProperty

Field Value

DependencyProperty

CommandButtonsVisibilityProperty

Represents the CommandButtonsVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandButtonsVisibilityProperty

Field Value

DependencyProperty

CommandProviderProperty

Represents the CommandProvider DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProviderProperty

Field Value

DependencyProperty

CommitButtonContentProperty

Represents the CommitButtonContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommitButtonContentProperty

Field Value

DependencyProperty

CommitButtonStyleProperty

Represents the CommitButtonStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommitButtonStyleProperty

Field Value

DependencyProperty

CurrentIndexProperty

Represents the CurrentIndex dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CurrentIndexProperty

Field Value

DependencyProperty

CurrentItemProperty

Represents the CurrentItem property.

Declaration

cs-api-definition
public static readonly DependencyProperty CurrentItemProperty

Field Value

DependencyProperty

DataFieldStyleProperty

Represents the DataFieldStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DataFieldStyleProperty

Field Value

DependencyProperty

EditModeProperty

Represents the EditMode DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty EditModeProperty

Field Value

DependencyProperty

EditTemplateProperty

Represents the EditTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditTemplateProperty

Field Value

DependencyProperty

EditTemplateSelectorProperty

Represents the EditTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditTemplateSelectorProperty

Field Value

DependencyProperty

EnablePropertyChangedBasedCancelProperty

Represents the EnablePropertyChangedBasedCancel DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty EnablePropertyChangedBasedCancelProperty

Field Value

DependencyProperty

HeaderProperty

/Represents the Header property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

IsEmptyProperty

Identifies the IsEmpty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsEmptyProperty

Field Value

DependencyProperty

The identifier for the IsEmpty dependency property.

IsItemChangedProperty

Identifies the IsItemChanged dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsItemChangedProperty

Field Value

DependencyProperty

The identifier for the IsItemChanged dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

LabelPositionProperty

Represents the LabelPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelPositionProperty

Field Value

DependencyProperty

LabelStyleProperty

Represents the LabelStyle dependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelStyleProperty

Field Value

DependencyProperty

ModeProperty

Identifies the Mode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ModeProperty

Field Value

DependencyProperty

The identifier for the Mode dependency property.

NewItemTemplateProperty

Represents the NewItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NewItemTemplateProperty

Field Value

DependencyProperty

ReadOnlyTemplateProperty

Represents the ReadOnlyTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyTemplateProperty

Field Value

DependencyProperty

ReadOnlyTemplateSelectorProperty

Represents the ReadOnlyTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyTemplateSelectorProperty

Field Value

DependencyProperty

ValidationSummaryProperty

Represents the ValidationSummary property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValidationSummaryProperty

Field Value

DependencyProperty

ValidationSummaryStyleProperty

Represents the ValidationSummaryStyleProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ValidationSummaryStyleProperty

Field Value

DependencyProperty

ValidationSummaryVisibilityProperty

Represents the ValidationSummaryVisibilityProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ValidationSummaryVisibilityProperty

Field Value

DependencyProperty

Properties

AutoCommit

Controls whether edited item will be committed on changing the current item.

Declaration

cs-api-definition
public bool AutoCommit { get; set; }

Property Value

bool

AutoEdit

Gets or sets a value indicating whether DataForm should automatically enter edit mode.

Declaration

cs-api-definition
public bool AutoEdit { get; set; }

Property Value

bool

AutoGenerateFields

Gets or sets a value indicating whether fields will be auto-generated.

Declaration

cs-api-definition
public bool AutoGenerateFields { get; set; }

Property Value

bool

CanAddItems

Gets a value that indicates whether the user can add items.

Declaration

cs-api-definition
public bool CanAddItems { get; }

Property Value

bool

true if the user can add items; otherwise, false.

CanBeginEdit

Gets a value that indicates whether an edit of the current item can be started.

Declaration

cs-api-definition
public bool CanBeginEdit { get; }

Property Value

bool

true if edit can be started; otherwise, false.

CanCancelEdit

Gets a value that indicates whether an edit of the current item can be canceled.

Declaration

cs-api-definition
public bool CanCancelEdit { get; }

Property Value

bool

true if edit can be canceled; otherwise, false.

CanCommitEdit

Gets a value that indicates whether an edit of the current item can be committed.

Declaration

cs-api-definition
public bool CanCommitEdit { get; }

Property Value

bool

true if edit can be committed; otherwise, false.

CanDeleteItems

Gets a value that indicates whether the user can Delete items.

Declaration

cs-api-definition
public bool CanDeleteItems { get; }

Property Value

bool

true if the user can Delete items; otherwise, false.

CanMoveCurrentToFirst

Gets a value that indicates whether the user can move the current item to the first position.

Declaration

cs-api-definition
public bool CanMoveCurrentToFirst { get; }

Property Value

bool

true if the user can move to the first position; otherwise, false.

CanMoveCurrentToLast

Gets a value that indicates whether the user can move the current item to the last position.

Declaration

cs-api-definition
public bool CanMoveCurrentToLast { get; }

Property Value

bool

true if the user can move the current item to the last position; otherwise, false.

CanMoveCurrentToNext

Gets a value that indicates whether the user can move the current item to the next position.

Declaration

cs-api-definition
public bool CanMoveCurrentToNext { get; }

Property Value

bool

true if the user can move the current item to the next position; otherwise, false.

CanMoveCurrentToPosition

Gets a value that indicates whether the user can move the current item to another position.

Declaration

cs-api-definition
public bool CanMoveCurrentToPosition { get; }

Property Value

bool

true if the user can move to another position; otherwise, false.

CanMoveCurrentToPrevious

Gets a value that indicates whether the user can move the current item to the previous position.

Declaration

cs-api-definition
public bool CanMoveCurrentToPrevious { get; }

Property Value

bool

true if the user can move the current to the previous position; otherwise, false.

CancelButtonContent

Gets or sets the content of the Cancel button.

Declaration

cs-api-definition
public object CancelButtonContent { get; set; }

Property Value

object

CancelButtonStyle

The style for the Cancel button.

Declaration

cs-api-definition
public Style CancelButtonStyle { get; set; }

Property Value

Style

CommandButtonsVisibility

Gets or sets the command buttons visibility.

Declaration

cs-api-definition
public DataFormCommandButtonsVisibility? CommandButtonsVisibility { get; set; }

Property Value

DataFormCommandButtonsVisibility?

CommandProvider

Exposes a DataFormCommandProvider.

Declaration

cs-api-definition
public ICommandProvider CommandProvider { get; set; }

Property Value

ICommandProvider

CommitButtonContent

Gets or sets the content of the Cancel button.

Declaration

cs-api-definition
public object CommitButtonContent { get; set; }

Property Value

object

CommitButtonStyle

The style for the Commit button.

Declaration

cs-api-definition
public Style CommitButtonStyle { get; set; }

Property Value

Style

CurrentIndex

The index of the current item in the source collection.

Declaration

cs-api-definition
public int CurrentIndex { get; set; }

Property Value

int

CurrentItem

Gets or sets the current item.

Declaration

cs-api-definition
public object CurrentItem { get; set; }

Property Value

object

DataFieldStyle

Gets or sets the style to be applied to data fields in data form.

Declaration

cs-api-definition
public Style DataFieldStyle { get; set; }

Property Value

Style

EditMode

Gets or sets the EditMode of this data form.

Declaration

cs-api-definition
public DataFormEditMode EditMode { get; set; }

Property Value

DataFormEditMode

EditTemplate

Gets or sets the data template to be used in edit mode.

Declaration

cs-api-definition
public DataTemplate EditTemplate { get; set; }

Property Value

DataTemplate

EditTemplateSelector

Gets or sets the EditTemplateSelector.

Declaration

cs-api-definition
public DataTemplateSelector EditTemplateSelector { get; set; }

Property Value

DataTemplateSelector

The edit template selector.

EnablePropertyChangedBasedCancel

Gets or sets a value indicating whether PropertyChanged based cancelling logic is enabled.

Declaration

cs-api-definition
public bool EnablePropertyChangedBasedCancel { get; set; }

Property Value

bool

true if PropertyChanged based cancel is enabled; otherwise, false.

Header

Gets or sets the content of the Header.

Declaration

cs-api-definition
public object Header { get; set; }

Property Value

object

IsEmpty

Indicates whether the data form is empty.

Declaration

cs-api-definition
public bool IsEmpty { get; }

Property Value

bool

IsItemChanged

Gets a value that indicates whether the current item was changed.

Declaration

cs-api-definition
public bool IsItemChanged { get; }

Property Value

bool

true if the current item was changed; otherwise, false.

ItemsScrollViewer

Gets RadDataForm's root ScrollViewer element.

Declaration

cs-api-definition
protected virtual ScrollViewer ItemsScrollViewer { get; }

Property Value

ScrollViewer

ItemsSource

Gets or sets the items source.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

The items source.

LabelPosition

Gets or sets the position of labels in data fields in RadDataForm.

Declaration

cs-api-definition
public LabelPosition LabelPosition { get; set; }

Property Value

LabelPosition

LabelStyle

Gets or sets the style for data field labels.

Declaration

cs-api-definition
public Style LabelStyle { get; set; }

Property Value

Style

Mode

Gets the current mode.

Declaration

cs-api-definition
public RadDataFormMode Mode { get; }

Property Value

RadDataFormMode

NewItemTemplate

Gets or sets the data template to be used when adding new item.

Declaration

cs-api-definition
public DataTemplate NewItemTemplate { get; set; }

Property Value

DataTemplate

ReadOnlyTemplate

Gets or sets the data template to be used in ReadOnly mode.

Declaration

cs-api-definition
public DataTemplate ReadOnlyTemplate { get; set; }

Property Value

DataTemplate

ReadOnlyTemplateSelector

Gets or sets the ReadOnlyTemplate selector.

Declaration

cs-api-definition
public DataTemplateSelector ReadOnlyTemplateSelector { get; set; }

Property Value

DataTemplateSelector

The read only template selector.

ValidationSummary

Gets the validation summary associated with this instance of RadDataForm.

Declaration

cs-api-definition
public DataFormValidationSummary ValidationSummary { get; }

Property Value

DataFormValidationSummary

ValidationSummaryStyle

Gets or sets the style to be applied to the inner items control representing validation errors.

Declaration

cs-api-definition
public Style ValidationSummaryStyle { get; set; }

Property Value

Style

ValidationSummaryVisibility

Gets or sets the validation summary visibility.

Declaration

cs-api-definition
public Visibility ValidationSummaryVisibility { get; set; }

Property Value

Visibility

Methods

AcquireFocus()

RadDataForm tries to acquire the keyboard focus.

Declaration

cs-api-definition
public virtual void AcquireFocus()

AddNewItem()

Adds a new item.

Declaration

cs-api-definition
public bool AddNewItem()

Returns

bool

BeginEdit()

Begins edit on the current item.

Declaration

cs-api-definition
public bool BeginEdit()

Returns

bool

BeginEdit(DataFormDataField)

Begins edit on the specified data field of the current item. This method is useful when the EditMode is set to Single.

Declaration

cs-api-definition
public bool BeginEdit(DataFormDataField dataField)

Parameters

dataField

DataFormDataField

Returns

bool

CancelEdit()

Cancels the edit on the current item.

Declaration

cs-api-definition
public bool CancelEdit()

Returns

bool

CommitEdit()

Commits the edit of the current item and exits editing mode.

Declaration

cs-api-definition
public bool CommitEdit()

Returns

bool

True if the commit succeeds; false otherwise.

CommitEdit(bool)

Commits the edit of the current item.

Declaration

cs-api-definition
public bool CommitEdit(bool exitEditMode)

Parameters

exitEditMode

bool

Whether or not editing mode should be exited after committing the edit.

Returns

bool

True if the commit succeeds; false otherwise.

DeleteItem()

Deletes the current item.

Declaration

cs-api-definition
public bool DeleteItem()

Returns

bool

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

GetValidationResults()

Gets the validation results for the current item.

Declaration

cs-api-definition
public virtual IEnumerable<ValidationResult> GetValidationResults()

Returns

IEnumerable<ValidationResult>

MoveCurrentToFirst()

Moves the current item to the first position.

Declaration

cs-api-definition
public void MoveCurrentToFirst()

MoveCurrentToLast()

Moves the current item to the last position.

Declaration

cs-api-definition
public void MoveCurrentToLast()

MoveCurrentToNext()

Moves the current item to the next position.

Declaration

cs-api-definition
public void MoveCurrentToNext()

MoveCurrentToPosition(int)

Moves the current item to the specified position.

Declaration

cs-api-definition
public void MoveCurrentToPosition(int position)

Parameters

position

int

MoveCurrentToPrevious()

Declaration

cs-api-definition
public void MoveCurrentToPrevious()

OnAddedNewItem(AddedNewItemEventArgs)

Raises the AddedNewItem event.

Declaration

cs-api-definition
protected virtual void OnAddedNewItem(AddedNewItemEventArgs args)

Parameters

args

AddedNewItemEventArgs

OnAddingNewItem(AddingNewItemEventArgs)

Raises the AddingNewItem event.

Declaration

cs-api-definition
protected virtual void OnAddingNewItem(AddingNewItemEventArgs e)

Parameters

e

AddingNewItemEventArgs

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnBeginningEdit(CancelEventArgs)

Raises the BeginningEdit event.

Declaration

cs-api-definition
protected virtual void OnBeginningEdit(CancelEventArgs e)

Parameters

e

CancelEventArgs

OnCreateAutomationPeer()

Returns an automation peer for this RadDataForm.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnDataFieldBeginningEdit(DataFieldCancelEventArgs)

Raises the BeginningDataFieldEdit event.

Declaration

cs-api-definition
protected virtual void OnDataFieldBeginningEdit(DataFieldCancelEventArgs e)

Parameters

e

DataFieldCancelEventArgs

OnDataFieldEditEnded(DataFieldEditEndedEventArgs)

Raises the DataFieldEditEnded event.

Declaration

cs-api-definition
protected virtual void OnDataFieldEditEnded(DataFieldEditEndedEventArgs e)

Parameters

e

DataFieldEditEndedEventArgs

OnDataFieldPreparedEditor(DataFieldPreparedEditorEventArgs)

Raises the DataFieldPreparedEditor event.

Declaration

cs-api-definition
protected virtual void OnDataFieldPreparedEditor(DataFieldPreparedEditorEventArgs e)

Parameters

e

DataFieldPreparedEditorEventArgs

OnDataFieldValidated(DataFieldValidatedEventArgs)

Raises the DataFieldValidated event.

Declaration

cs-api-definition
protected virtual void OnDataFieldValidated(DataFieldValidatedEventArgs e)

Parameters

e

DataFieldValidatedEventArgs

OnDataFieldValidating(DataFieldValidatingEventArgs)

Raises the DataFieldValidating event.

Declaration

cs-api-definition
protected virtual void OnDataFieldValidating(DataFieldValidatingEventArgs e)

Parameters

e

DataFieldValidatingEventArgs

OnDeletedItem(ItemDeletedEventArgs)

Raises the DeletedItem event.

Declaration

cs-api-definition
protected virtual void OnDeletedItem(ItemDeletedEventArgs e)

Parameters

e

ItemDeletedEventArgs

OnDeletingItem(CancelEventArgs)

Raises the DeletingItem event.

Declaration

cs-api-definition
protected virtual void OnDeletingItem(CancelEventArgs e)

Parameters

e

CancelEventArgs

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnInitializingNewItem(InitializingNewItemEventArgs)

Raises the InitializingNewItem event.

Declaration

cs-api-definition
public virtual void OnInitializingNewItem(InitializingNewItemEventArgs e)

Parameters

e

InitializingNewItemEventArgs

The InitializingNewItemEventArgs instance containing the event data.

OnItemEditEnded(EditEndedEventArgs)

Raises the EditEnded event.

Declaration

cs-api-definition
protected virtual void OnItemEditEnded(EditEndedEventArgs e)

Parameters

e

EditEndedEventArgs

OnItemEditEnding(EditEndingEventArgs)

Raises the EditEnding event.

Declaration

cs-api-definition
protected virtual void OnItemEditEnding(EditEndingEventArgs e)

Parameters

e

EditEndingEventArgs

OnLoaded(object, RoutedEventArgs)

Called when the Loaded event occurs.

Declaration

cs-api-definition
public virtual void OnLoaded(object sender, RoutedEventArgs e)

Parameters

sender

object

The sender.

e

RoutedEventArgs

The RoutedEventArgs instance containing the event data.

OnMouseLeftButtonDown(MouseButtonEventArgs)

Called when the root ScrollViewer's MouseLeftButtonDown event is fired.

Declaration

cs-api-definition
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs

OnUnloaded(object, RoutedEventArgs)

Called when the Unloaded event occurs.

Declaration

cs-api-definition
public virtual void OnUnloaded(object sender, RoutedEventArgs e)

Parameters

sender

object

The sender.

e

RoutedEventArgs

The RoutedEventArgs instance containing the event data.

OnValidatingItem(CancelEventArgs)

Raises the ValidatingItemEvent.

Declaration

cs-api-definition
protected virtual void OnValidatingItem(CancelEventArgs e)

Parameters

e

CancelEventArgs

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

ValidateItem()

Checks if data current item is valid .

Declaration

cs-api-definition
public bool ValidateItem()

Returns

bool

Events

AddedNewItem

Occurs when a new item was just added.

Declaration

cs-api-definition
public event EventHandler<AddedNewItemEventArgs> AddedNewItem

Event Value

EventHandler<AddedNewItemEventArgs>

AddingNewItem

Occurs when a new item is being added.

Declaration

cs-api-definition
public event EventHandler<AddingNewItemEventArgs> AddingNewItem

Event Value

EventHandler<AddingNewItemEventArgs>

AutoGeneratingField

Occurs when a data field is being generated.

Declaration

cs-api-definition
public event EventHandler<AutoGeneratingFieldEventArgs> AutoGeneratingField

Event Value

EventHandler<AutoGeneratingFieldEventArgs>

BeginningEdit

Occurs when an edit operation on the current item is beginning.

Declaration

cs-api-definition
public event EventHandler<CancelEventArgs> BeginningEdit

Event Value

EventHandler<CancelEventArgs>

CurrentItemChanged

Occurs when the current item has changed.

Declaration

cs-api-definition
public event EventHandler<EventArgs> CurrentItemChanged

Event Value

EventHandler<EventArgs>

DataFieldBeginningEdit

Occurs when an edit operation on a data field is beginning.

Declaration

cs-api-definition
public event EventHandler<DataFieldCancelEventArgs> DataFieldBeginningEdit

Event Value

EventHandler<DataFieldCancelEventArgs>

DataFieldEditEnded

Occurs when an edit operation on a data field has ended.

Declaration

cs-api-definition
public event EventHandler<DataFieldEditEndedEventArgs> DataFieldEditEnded

Event Value

EventHandler<DataFieldEditEndedEventArgs>

DataFieldPreparedEditor

Occurs when an edit operation on a data field has begun.

Declaration

cs-api-definition
public event EventHandler<DataFieldPreparedEditorEventArgs> DataFieldPreparedEditor

Event Value

EventHandler<DataFieldPreparedEditorEventArgs>

DataFieldValidated

Occurs when the value of a data field is validated.

Declaration

cs-api-definition
public event EventHandler<DataFieldValidatedEventArgs> DataFieldValidated

Event Value

EventHandler<DataFieldValidatedEventArgs>

DataFieldValidating

Occurs before the value of a data field is validated.

Declaration

cs-api-definition
public event EventHandler<DataFieldValidatingEventArgs> DataFieldValidating

Event Value

EventHandler<DataFieldValidatingEventArgs>

DeletedItem

Occurs after the current item was deleted.

Declaration

cs-api-definition
public event EventHandler<ItemDeletedEventArgs> DeletedItem

Event Value

EventHandler<ItemDeletedEventArgs>

DeletingItem

Occurs on deleting the current item.

Declaration

cs-api-definition
public event EventHandler<CancelEventArgs> DeletingItem

Event Value

EventHandler<CancelEventArgs>

EditEnded

Occurs after the current item was edited.

Declaration

cs-api-definition
public event EventHandler<EditEndedEventArgs> EditEnded

Event Value

EventHandler<EditEndedEventArgs>

EditEnding

Occurs when the edit of the current item is ending.

Declaration

cs-api-definition
public event EventHandler<EditEndingEventArgs> EditEnding

Event Value

EventHandler<EditEndingEventArgs>

InitializingNewItem

Occurs when a new item is being added.

Declaration

cs-api-definition
public event EventHandler<InitializingNewItemEventArgs> InitializingNewItem

Event Value

EventHandler<InitializingNewItemEventArgs>

ValidatingItem

Occurs when the current item is being validated.

Declaration

cs-api-definition
public event EventHandler<CancelEventArgs> ValidatingItem

Event Value

EventHandler<CancelEventArgs>

In this article
DefinitionConstructorsRadDataForm()FieldsAutoCommitPropertyAutoEditPropertyAutoGenerateFieldsPropertyCanAddItemsPropertyCanBeginEditPropertyCanCancelEditPropertyCanCommitEditPropertyCanDeleteItemsPropertyCanMoveCurrentToFirstPropertyCanMoveCurrentToLastPropertyCanMoveCurrentToNextPropertyCanMoveCurrentToPositionPropertyCanMoveCurrentToPreviousPropertyCancelButtonContentPropertyCancelButtonStylePropertyCommandButtonsVisibilityPropertyCommandProviderPropertyCommitButtonContentPropertyCommitButtonStylePropertyCurrentIndexPropertyCurrentItemPropertyDataFieldStylePropertyEditModePropertyEditTemplatePropertyEditTemplateSelectorPropertyEnablePropertyChangedBasedCancelPropertyHeaderPropertyIsEmptyPropertyIsItemChangedPropertyItemsSourcePropertyLabelPositionPropertyLabelStylePropertyModePropertyNewItemTemplatePropertyReadOnlyTemplatePropertyReadOnlyTemplateSelectorPropertyValidationSummaryPropertyValidationSummaryStylePropertyValidationSummaryVisibilityPropertyPropertiesAutoCommitAutoEditAutoGenerateFieldsCanAddItemsCanBeginEditCanCancelEditCanCommitEditCanDeleteItemsCanMoveCurrentToFirstCanMoveCurrentToLastCanMoveCurrentToNextCanMoveCurrentToPositionCanMoveCurrentToPreviousCancelButtonContentCancelButtonStyleCommandButtonsVisibilityCommandProviderCommitButtonContentCommitButtonStyleCurrentIndexCurrentItemDataFieldStyleEditModeEditTemplateEditTemplateSelectorEnablePropertyChangedBasedCancelHeaderIsEmptyIsItemChangedItemsScrollViewerItemsSourceLabelPositionLabelStyleModeNewItemTemplateReadOnlyTemplateReadOnlyTemplateSelectorValidationSummaryValidationSummaryStyleValidationSummaryVisibilityMethodsAcquireFocus()AddNewItem()BeginEdit()BeginEdit(DataFormDataField)CancelEdit()CommitEdit()CommitEdit(bool)DeleteItem()Dispose()Dispose(bool)GetValidationResults()MoveCurrentToFirst()MoveCurrentToLast()MoveCurrentToNext()MoveCurrentToPosition(int)MoveCurrentToPrevious()OnAddedNewItem(AddedNewItemEventArgs)OnAddingNewItem(AddingNewItemEventArgs)OnApplyTemplate()OnBeginningEdit(CancelEventArgs)OnCreateAutomationPeer()OnDataFieldBeginningEdit(DataFieldCancelEventArgs)OnDataFieldEditEnded(DataFieldEditEndedEventArgs)OnDataFieldPreparedEditor(DataFieldPreparedEditorEventArgs)OnDataFieldValidated(DataFieldValidatedEventArgs)OnDataFieldValidating(DataFieldValidatingEventArgs)OnDeletedItem(ItemDeletedEventArgs)OnDeletingItem(CancelEventArgs)OnInitialized(EventArgs)OnInitializingNewItem(InitializingNewItemEventArgs)OnItemEditEnded(EditEndedEventArgs)OnItemEditEnding(EditEndingEventArgs)OnLoaded(object, RoutedEventArgs)OnMouseLeftButtonDown(MouseButtonEventArgs)OnUnloaded(object, RoutedEventArgs)OnValidatingItem(CancelEventArgs)ResetTheme()ValidateItem()EventsAddedNewItemAddingNewItemAutoGeneratingFieldBeginningEditCurrentItemChangedDataFieldBeginningEditDataFieldEditEndedDataFieldPreparedEditorDataFieldValidatedDataFieldValidatingDeletedItemDeletingItemEditEndedEditEndingInitializingNewItemValidatingItem
Not finding the help you need?
Contact Support