skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadDataForm

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

Inheritance
System.Object
RadDataForm
CardViewDataForm
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Data.dll

Syntax

[TelerikToolboxCategory("Data")]
public class RadDataForm : Control, IDisposable, IThemable

Constructors

RadDataForm()

Initializes a new instance of the RadDataForm class.

Declaration
public RadDataForm()

Fields

AutoCommitProperty

Represents the AutoCommit dependency property.

Declaration
public static readonly DependencyProperty AutoCommitProperty
Field Value
System.Windows.DependencyProperty

AutoEditProperty

Identifies the AutoEdit dependency property.

Declaration
public static readonly DependencyProperty AutoEditProperty
Field Value
System.Windows.DependencyProperty

AutoGenerateFieldsProperty

Represents the AutoGenerateFields dependency property.

Declaration
public static readonly DependencyProperty AutoGenerateFieldsProperty
Field Value
System.Windows.DependencyProperty

CanAddItemsProperty

Identifies the CanAddItems dependency property.

Declaration
public static readonly DependencyProperty CanAddItemsProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanAddItems dependency property.

CanBeginEditProperty

Identifies the CanBeginEdit dependency property.

Declaration
public static readonly DependencyProperty CanBeginEditProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanBeginEdit dependency property.

CanCancelEditProperty

Identifies the CanCancelEdit dependency property.

Declaration
public static readonly DependencyProperty CanCancelEditProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanCancelEdit dependency property.

CancelButtonContentProperty

Represents the CancelButtonContent dependency property.

Declaration
public static readonly DependencyProperty CancelButtonContentProperty
Field Value
System.Windows.DependencyProperty

CancelButtonStyleProperty

Represents the CancelButtonStyle dependency property.

Declaration
public static readonly DependencyProperty CancelButtonStyleProperty
Field Value
System.Windows.DependencyProperty

CanCommitEditProperty

Identifies the CanCommitEdit dependency property.

Declaration
public static readonly DependencyProperty CanCommitEditProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanCommitEdit dependency property.

CanDeleteItemsProperty

Identifies the CanDeleteItems dependency property.

Declaration
public static readonly DependencyProperty CanDeleteItemsProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanDeleteItems dependency property.

CanMoveCurrentToFirstProperty

Identifies the CanMoveCurrentToFirst dependency property.

Declaration
public static readonly DependencyProperty CanMoveCurrentToFirstProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanMoveCurrentToFirst dependency property.

CanMoveCurrentToLastProperty

Identifies the CanMoveCurrentToLast dependency property.

Declaration
public static readonly DependencyProperty CanMoveCurrentToLastProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanMoveCurrentToLast dependency property.

CanMoveCurrentToNextProperty

Identifies the CanMoveCurrentToNext dependency property.

Declaration
public static readonly DependencyProperty CanMoveCurrentToNextProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanMoveCurrentToNext dependency property.

CanMoveCurrentToPositionProperty

Identifies the CanMoveCurrentToPosition dependency property.

Declaration
public static readonly DependencyProperty CanMoveCurrentToPositionProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanMoveCurrentToPosition dependency property.

CanMoveCurrentToPreviousProperty

Identifies the CanMoveCurrentToPrevious dependency property.

Declaration
public static readonly DependencyProperty CanMoveCurrentToPreviousProperty
Field Value
System.Windows.DependencyProperty

The identifier for the CanMoveCurrentToPrevious dependency property.

CommandButtonsVisibilityProperty

Represents the CommandButtonsVisibility dependency property.

Declaration
public static readonly DependencyProperty CommandButtonsVisibilityProperty
Field Value
System.Windows.DependencyProperty

CommandProviderProperty

Represents the CommandProvider DependencyProperty.

Declaration
public static readonly DependencyProperty CommandProviderProperty
Field Value
System.Windows.DependencyProperty

CommitButtonContentProperty

Represents the CommitButtonContent dependency property.

Declaration
public static readonly DependencyProperty CommitButtonContentProperty
Field Value
System.Windows.DependencyProperty

CommitButtonStyleProperty

Represents the CommitButtonStyle dependency property.

Declaration
public static readonly DependencyProperty CommitButtonStyleProperty
Field Value
System.Windows.DependencyProperty

CurrentIndexProperty

Represents the CurrentIndex dependency property.

Declaration
public static readonly DependencyProperty CurrentIndexProperty
Field Value
System.Windows.DependencyProperty

CurrentItemProperty

Represents the CurrentItem property.

Declaration
public static readonly DependencyProperty CurrentItemProperty
Field Value
System.Windows.DependencyProperty

DataFieldStyleProperty

Represents the DataFieldStyle dependency property.

Declaration
public static readonly DependencyProperty DataFieldStyleProperty
Field Value
System.Windows.DependencyProperty

EditModeProperty

Represents the EditMode DependencyProperty.

Declaration
public static readonly DependencyProperty EditModeProperty
Field Value
System.Windows.DependencyProperty

EditTemplateProperty

Represents the EditTemplate dependency property.

Declaration
public static readonly DependencyProperty EditTemplateProperty
Field Value
System.Windows.DependencyProperty

EditTemplateSelectorProperty

Represents the EditTemplateSelector dependency property.

Declaration
public static readonly DependencyProperty EditTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty

EnablePropertyChangedBasedCancelProperty

Represents the EnablePropertyChangedBasedCancel DependencyProperty.

Declaration
public static readonly DependencyProperty EnablePropertyChangedBasedCancelProperty
Field Value
System.Windows.DependencyProperty

HeaderProperty

/Represents the Header property.

Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
System.Windows.DependencyProperty

IsEmptyProperty

Identifies the IsEmpty dependency property.

Declaration
public static readonly DependencyProperty IsEmptyProperty
Field Value
System.Windows.DependencyProperty

The identifier for the IsEmpty dependency property.

IsItemChangedProperty

Identifies the IsItemChanged dependency property.

Declaration
public static readonly DependencyProperty IsItemChangedProperty
Field Value
System.Windows.DependencyProperty

The identifier for the IsItemChanged dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.Windows.DependencyProperty

LabelPositionProperty

Represents the LabelPosition dependency property.

Declaration
public static readonly DependencyProperty LabelPositionProperty
Field Value
System.Windows.DependencyProperty

LabelStyleProperty

Represents the LabelStyle dependencyProperty.

Declaration
public static readonly DependencyProperty LabelStyleProperty
Field Value
System.Windows.DependencyProperty

ModeProperty

Identifies the Mode dependency property.

Declaration
public static readonly DependencyProperty ModeProperty
Field Value
System.Windows.DependencyProperty

The identifier for the Mode dependency property.

NewItemTemplateProperty

Represents the NewItemTemplate dependency property.

Declaration
public static readonly DependencyProperty NewItemTemplateProperty
Field Value
System.Windows.DependencyProperty

ReadOnlyTemplateProperty

Represents the ReadOnlyTemplate dependency property.

Declaration
public static readonly DependencyProperty ReadOnlyTemplateProperty
Field Value
System.Windows.DependencyProperty

ReadOnlyTemplateSelectorProperty

Represents the ReadOnlyTemplateSelector dependency property.

Declaration
public static readonly DependencyProperty ReadOnlyTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty

ValidationSummaryProperty

Represents the ValidationSummary property.

Declaration
public static readonly DependencyProperty ValidationSummaryProperty
Field Value
System.Windows.DependencyProperty

ValidationSummaryStyleProperty

Represents the ValidationSummaryStyleProperty.

Declaration
public static readonly DependencyProperty ValidationSummaryStyleProperty
Field Value
System.Windows.DependencyProperty

ValidationSummaryVisibilityProperty

Represents the ValidationSummaryVisibilityProperty.

Declaration
public static readonly DependencyProperty ValidationSummaryVisibilityProperty
Field Value
System.Windows.DependencyProperty

Properties

AutoCommit

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

Declaration
public bool AutoCommit { get; set; }
Property Value
System.Boolean

AutoEdit

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

Declaration
public bool AutoEdit { get; set; }
Property Value
System.Boolean

AutoGenerateFields

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

Declaration
public bool AutoGenerateFields { get; set; }
Property Value
System.Boolean

CanAddItems

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

Declaration
public bool CanAddItems { get; }
Property Value
System.Boolean

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
public bool CanBeginEdit { get; }
Property Value
System.Boolean

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
public bool CanCancelEdit { get; }
Property Value
System.Boolean

true if edit can be canceled; otherwise, false.

CancelButtonContent

Gets or sets the content of the Cancel button.

Declaration
public object CancelButtonContent { get; set; }
Property Value
System.Object

CancelButtonStyle

The style for the Cancel button.

Declaration
public Style CancelButtonStyle { get; set; }
Property Value
System.Windows.Style

CanCommitEdit

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

Declaration
public bool CanCommitEdit { get; }
Property Value
System.Boolean

true if edit can be committed; otherwise, false.

CanDeleteItems

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

Declaration
public bool CanDeleteItems { get; }
Property Value
System.Boolean

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
public bool CanMoveCurrentToFirst { get; }
Property Value
System.Boolean

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
public bool CanMoveCurrentToLast { get; }
Property Value
System.Boolean

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
public bool CanMoveCurrentToNext { get; }
Property Value
System.Boolean

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
public bool CanMoveCurrentToPosition { get; }
Property Value
System.Boolean

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
public bool CanMoveCurrentToPrevious { get; }
Property Value
System.Boolean

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

CommandButtonsVisibility

Gets or sets the command buttons visibility.

Declaration
public Nullable<DataFormCommandButtonsVisibility> CommandButtonsVisibility { get; set; }
Property Value
System.Nullable<DataFormCommandButtonsVisibility>

CommandProvider

Exposes a DataFormCommandProvider.

Declaration
public ICommandProvider CommandProvider { get; set; }
Property Value
ICommandProvider

CommitButtonContent

Gets or sets the content of the Cancel button.

Declaration
public object CommitButtonContent { get; set; }
Property Value
System.Object

CommitButtonStyle

The style for the Commit button.

Declaration
public Style CommitButtonStyle { get; set; }
Property Value
System.Windows.Style

CurrentIndex

The index of the current item in the source collection.

Declaration
public int CurrentIndex { get; set; }
Property Value
System.Int32

CurrentItem

Gets or sets the current item.

Declaration
public object CurrentItem { get; set; }
Property Value
System.Object

DataFieldStyle

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

Declaration
public Style DataFieldStyle { get; set; }
Property Value
System.Windows.Style

EditMode

Gets or sets the EditMode of this data form.

Declaration
public DataFormEditMode EditMode { get; set; }
Property Value
DataFormEditMode

EditTemplate

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

Declaration
public DataTemplate EditTemplate { get; set; }
Property Value
System.Windows.DataTemplate

EditTemplateSelector

Gets or sets the EditTemplateSelector.

Declaration
public DataTemplateSelector EditTemplateSelector { get; set; }
Property Value
System.Windows.Controls.DataTemplateSelector

The edit template selector.

EnablePropertyChangedBasedCancel

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

Declaration
public bool EnablePropertyChangedBasedCancel { get; set; }
Property Value
System.Boolean

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

Header

Gets or sets the content of the Header.

Declaration
public object Header { get; set; }
Property Value
System.Object

IsEmpty

Indicates whether the data form is empty.

Declaration
public bool IsEmpty { get; }
Property Value
System.Boolean

IsItemChanged

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

Declaration
public bool IsItemChanged { get; }
Property Value
System.Boolean

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

ItemsScrollViewer

Gets RadDataForm's root ScrollViewer element.

Declaration
protected virtual ScrollViewer ItemsScrollViewer { get; }
Property Value
System.Windows.Controls.ScrollViewer

ItemsSource

Gets or sets the items source.

Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable

The items source.

LabelPosition

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

Declaration
public LabelPosition LabelPosition { get; set; }
Property Value
LabelPosition

LabelStyle

Gets or sets the style for data field labels.

Declaration
public Style LabelStyle { get; set; }
Property Value
System.Windows.Style

Mode

Gets the current mode.

Declaration
public RadDataFormMode Mode { get; }
Property Value
RadDataFormMode

NewItemTemplate

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

Declaration
public DataTemplate NewItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate

ReadOnlyTemplate

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

Declaration
public DataTemplate ReadOnlyTemplate { get; set; }
Property Value
System.Windows.DataTemplate

ReadOnlyTemplateSelector

Gets or sets the ReadOnlyTemplate selector.

Declaration
public DataTemplateSelector ReadOnlyTemplateSelector { get; set; }
Property Value
System.Windows.Controls.DataTemplateSelector

The read only template selector.

ValidationSummary

Gets the validation summary associated with this instance of RadDataForm.

Declaration
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
public Style ValidationSummaryStyle { get; set; }
Property Value
System.Windows.Style

ValidationSummaryVisibility

Gets or sets the validation summary visibility.

Declaration
public Visibility ValidationSummaryVisibility { get; set; }
Property Value
System.Windows.Visibility

Methods

AcquireFocus()

RadDataForm tries to acquire the keyboard focus.

Declaration
public virtual void AcquireFocus()

AddNewItem()

Adds a new item.

Declaration
public bool AddNewItem()
Returns
System.Boolean

BeginEdit()

Begins edit on the current item.

Declaration
public bool BeginEdit()
Returns
System.Boolean

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
public bool BeginEdit(DataFormDataField dataField)
Parameters
DataFormDataField dataField

Returns
System.Boolean

CancelEdit()

Cancels the edit on the current item.

Declaration
public bool CancelEdit()
Returns
System.Boolean

CommitEdit()

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

Declaration
public bool CommitEdit()
Returns
System.Boolean

True if the commit succeeds; false otherwise.

CommitEdit(Boolean)

Commits the edit of the current item.

Declaration
public bool CommitEdit(bool exitEditMode)
Parameters
System.Boolean exitEditMode

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

Returns
System.Boolean

True if the commit succeeds; false otherwise.

DeleteItem()

Deletes the current item.

Declaration
public bool DeleteItem()
Returns
System.Boolean

Dispose()

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

Declaration
public void Dispose()

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean disposing

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

GetValidationResults()

Gets the validation results for the current item.

Declaration
public virtual IEnumerable<ValidationResult> GetValidationResults()
Returns
System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

MoveCurrentToFirst()

Moves the current item to the first position.

Declaration
public void MoveCurrentToFirst()

MoveCurrentToLast()

Moves the current item to the last position.

Declaration
public void MoveCurrentToLast()

MoveCurrentToNext()

Moves the current item to the next position.

Declaration
public void MoveCurrentToNext()

MoveCurrentToPosition(Int32)

Moves the current item to the specified position.

Declaration
public void MoveCurrentToPosition(int position)
Parameters
System.Int32 position

MoveCurrentToPrevious()

Declaration
public void MoveCurrentToPrevious()

OnAddedNewItem(AddedNewItemEventArgs)

Raises the AddedNewItem event.

Declaration
protected virtual void OnAddedNewItem(AddedNewItemEventArgs args)
Parameters
AddedNewItemEventArgs args

OnAddingNewItem(AddingNewItemEventArgs)

Raises the AddingNewItem event.

Declaration
protected virtual void OnAddingNewItem(AddingNewItemEventArgs e)
Parameters
AddingNewItemEventArgs e

OnApplyTemplate()

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

Declaration
public override void OnApplyTemplate()

OnBeginningEdit(CancelEventArgs)

Raises the BeginningEdit event.

Declaration
protected virtual void OnBeginningEdit(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs e

OnCreateAutomationPeer()

Returns an automation peer for this RadDataForm.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

OnDataFieldBeginningEdit(DataFieldCancelEventArgs)

Raises the BeginningDataFieldEdit event.

Declaration
protected virtual void OnDataFieldBeginningEdit(DataFieldCancelEventArgs e)
Parameters
DataFieldCancelEventArgs e

OnDataFieldEditEnded(DataFieldEditEndedEventArgs)

Raises the DataFieldEditEnded event.

Declaration
protected virtual void OnDataFieldEditEnded(DataFieldEditEndedEventArgs e)
Parameters
DataFieldEditEndedEventArgs e

OnDataFieldPreparedEditor(DataFieldPreparedEditorEventArgs)

Raises the DataFieldPreparedEditor event.

Declaration
protected virtual void OnDataFieldPreparedEditor(DataFieldPreparedEditorEventArgs e)
Parameters
DataFieldPreparedEditorEventArgs e

OnDataFieldValidated(DataFieldValidatedEventArgs)

Raises the DataFieldValidated event.

Declaration
protected virtual void OnDataFieldValidated(DataFieldValidatedEventArgs e)
Parameters
DataFieldValidatedEventArgs e

OnDataFieldValidating(DataFieldValidatingEventArgs)

Raises the DataFieldValidating event.

Declaration
protected virtual void OnDataFieldValidating(DataFieldValidatingEventArgs e)
Parameters
DataFieldValidatingEventArgs e

OnDeletedItem(ItemDeletedEventArgs)

Raises the DeletedItem event.

Declaration
protected virtual void OnDeletedItem(ItemDeletedEventArgs e)
Parameters
ItemDeletedEventArgs e

OnDeletingItem(CancelEventArgs)

Raises the DeletingItem event.

Declaration
protected virtual void OnDeletingItem(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs e

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnInitializingNewItem(InitializingNewItemEventArgs)

Raises the InitializingNewItem event.

Declaration
public virtual void OnInitializingNewItem(InitializingNewItemEventArgs e)
Parameters
InitializingNewItemEventArgs e

The InitializingNewItemEventArgs instance containing the event data.

OnItemEditEnded(EditEndedEventArgs)

Raises the EditEnded event.

Declaration
protected virtual void OnItemEditEnded(EditEndedEventArgs e)
Parameters
EditEndedEventArgs e

OnItemEditEnding(EditEndingEventArgs)

Raises the EditEnding event.

Declaration
protected virtual void OnItemEditEnding(EditEndingEventArgs e)
Parameters
EditEndingEventArgs e

OnLoaded(Object, RoutedEventArgs)

Called when the Loaded event occurs.

Declaration
public virtual void OnLoaded(object sender, RoutedEventArgs e)
Parameters
System.Object sender

The sender.

System.Windows.RoutedEventArgs e

The System.Windows.RoutedEventArgs instance containing the event data.

OnMouseLeftButtonDown(MouseButtonEventArgs)

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

Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

OnUnloaded(Object, RoutedEventArgs)

Called when the Unloaded event occurs.

Declaration
public virtual void OnUnloaded(object sender, RoutedEventArgs e)
Parameters
System.Object sender

The sender.

System.Windows.RoutedEventArgs e

The System.Windows.RoutedEventArgs instance containing the event data.

OnValidatingItem(CancelEventArgs)

Raises the ValidatingItemEvent.

Declaration
protected virtual void OnValidatingItem(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs e

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

ValidateItem()

Checks if data current item is valid .

Declaration
public bool ValidateItem()
Returns
System.Boolean

Events

AddedNewItem

Occurs when a new item was just added.

Declaration
public event EventHandler<AddedNewItemEventArgs> AddedNewItem
Event Type
System.EventHandler<AddedNewItemEventArgs>

AddingNewItem

Occurs when a new item is being added.

Declaration
public event EventHandler<AddingNewItemEventArgs> AddingNewItem
Event Type
System.EventHandler<AddingNewItemEventArgs>

AutoGeneratingField

Occurs when a data field is being generated.

Declaration
public event EventHandler<AutoGeneratingFieldEventArgs> AutoGeneratingField
Event Type
System.EventHandler<AutoGeneratingFieldEventArgs>

BeginningEdit

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

Declaration
public event EventHandler<CancelEventArgs> BeginningEdit
Event Type
System.EventHandler<System.ComponentModel.CancelEventArgs>

CurrentItemChanged

Occurs when the current item has changed.

Declaration
public event EventHandler<EventArgs> CurrentItemChanged
Event Type
System.EventHandler<System.EventArgs>

DataFieldBeginningEdit

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

Declaration
public event EventHandler<DataFieldCancelEventArgs> DataFieldBeginningEdit
Event Type
System.EventHandler<DataFieldCancelEventArgs>

DataFieldEditEnded

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

Declaration
public event EventHandler<DataFieldEditEndedEventArgs> DataFieldEditEnded
Event Type
System.EventHandler<DataFieldEditEndedEventArgs>

DataFieldPreparedEditor

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

Declaration
public event EventHandler<DataFieldPreparedEditorEventArgs> DataFieldPreparedEditor
Event Type
System.EventHandler<DataFieldPreparedEditorEventArgs>

DataFieldValidated

Occurs when the value of a data field is validated.

Declaration
public event EventHandler<DataFieldValidatedEventArgs> DataFieldValidated
Event Type
System.EventHandler<DataFieldValidatedEventArgs>

DataFieldValidating

Occurs before the value of a data field is validated.

Declaration
public event EventHandler<DataFieldValidatingEventArgs> DataFieldValidating
Event Type
System.EventHandler<DataFieldValidatingEventArgs>

DeletedItem

Occurs after the current item was deleted.

Declaration
public event EventHandler<ItemDeletedEventArgs> DeletedItem
Event Type
System.EventHandler<ItemDeletedEventArgs>

DeletingItem

Occurs on deleting the current item.

Declaration
public event EventHandler<CancelEventArgs> DeletingItem
Event Type
System.EventHandler<System.ComponentModel.CancelEventArgs>

EditEnded

Occurs after the current item was edited.

Declaration
public event EventHandler<EditEndedEventArgs> EditEnded
Event Type
System.EventHandler<EditEndedEventArgs>

EditEnding

Occurs when the edit of the current item is ending.

Declaration
public event EventHandler<EditEndingEventArgs> EditEnding
Event Type
System.EventHandler<EditEndingEventArgs>

InitializingNewItem

Occurs when a new item is being added.

Declaration
public event EventHandler<InitializingNewItemEventArgs> InitializingNewItem
Event Type
System.EventHandler<InitializingNewItemEventArgs>

ValidatingItem

Occurs when the current item is being validated.

Declaration
public event EventHandler<CancelEventArgs> ValidatingItem
Event Type
System.EventHandler<System.ComponentModel.CancelEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.