skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    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 DataFormCommandProvider

Provides CommandBinding subscription functionality for RadDataForm.

Inheritance
System.Object
DataFormCommandProvider
Namespace: Telerik.Windows.Controls.Data.DataForm
Assembly: Telerik.Windows.Controls.Data.dll

Syntax

public class DataFormCommandProvider : DependencyObject, ICommandProvider, IKeyboardCommandExecutor

Constructors

DataFormCommandProvider()

Initializes a new instance of the DataFormCommandProvider class.

Declaration
public DataFormCommandProvider()

DataFormCommandProvider(RadDataForm)

Initializes a new instance of the DataFormCommandProvider class.

Declaration
public DataFormCommandProvider(RadDataForm dataForm)
Parameters
RadDataForm dataForm

Fields

DataFormProperty

Represents the DataForm DependencyProperty.

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

EnableBuiltInNavigationProperty

Represents the EnableBuiltInNavigation dependency property.

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

ShouldProcessHandledEventsProperty

Represents the ShouldProcessHandledEvents dependency property.

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

Properties

DataForm

Gets or sets the RadDataForm instance related to this provider.

Declaration
public RadDataForm DataForm { get; set; }
Property Value
RadDataForm

The DataForm instance.

EnableBuiltInNavigation

Gets or sets a value that indicates whether custom control navigation logic should be enabled.

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

Implements
ICommandProvider.EnableBuiltInNavigation

ShouldProcessHandledEvents

Gets or sets a value that indicates whether handled events should be processed.

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

Implements
ICommandProvider.ShouldProcessHandledEvents

Methods

AddNew()

Represents the logic that is going to be executed in RadDataFormCommands.AddNew execute callback.

Declaration
protected virtual void AddNew()

BeginEdit()

Represents the logic that is going to be executed in RadDataFormCommands.BeginEdit execute callback.

Declaration
protected virtual void BeginEdit()

CanAddNewExecute()

Represents the logic that is going to be executed in RadDataFormCommands.AddNew can-execute callback.

Declaration
protected virtual bool CanAddNewExecute()
Returns
System.Boolean

CanBeginEditExecute()

Represents the logic that is going to be executed in RadDataFormCommands.BeginEdit can-execute callback.

Declaration
protected virtual bool CanBeginEditExecute()
Returns
System.Boolean

CanCancelEditExecute()

Represents the logic that is going to be executed in RadDataFormCommands.CancelEdit can-execute callback.

Declaration
protected virtual bool CanCancelEditExecute()
Returns
System.Boolean

CancelEdit()

Represents the logic that is going to be executed in RadDataFormCommands.CancelEdit execute callback.

Declaration
protected virtual void CancelEdit()

CanCommitEditExecute()

Represents the logic that is going to be executed in RadDataFormCommands.CommitEdit can-execute callback.

Declaration
protected virtual bool CanCommitEditExecute()
Returns
System.Boolean

CanDeleteExecute()

Represents the logic that is going to be executed in RadDataFormCommands.Delete can-execute callback.

Declaration
protected virtual bool CanDeleteExecute()
Returns
System.Boolean

CanMoveCurrentToFirstExecute()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToFirst can-execute callback.

Declaration
protected virtual bool CanMoveCurrentToFirstExecute()
Returns
System.Boolean

CanMoveCurrentToLastExecute()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToLast can-execute callback.

Declaration
protected virtual bool CanMoveCurrentToLastExecute()
Returns
System.Boolean

CanMoveCurrentToNextExecute()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToNext can-execute callback.

Declaration
protected virtual bool CanMoveCurrentToNextExecute()
Returns
System.Boolean

CanMoveCurrentToPreviousExecute()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToPrevious can-execute callback.

Declaration
protected virtual bool CanMoveCurrentToPreviousExecute()
Returns
System.Boolean

CommitEdit()

Represents the logic that is going to be executed in RadDataFormCommands.CommitEdit execute callback.

Declaration
protected virtual void CommitEdit()

Delete()

Represents the logic that is going to be executed in RadDataFormCommands.Delete execute callback.

Declaration
protected virtual void Delete()

HandleKeyDown(KeyEventArgs)

Handles the logic executed on KeyDown.

Declaration
public virtual void HandleKeyDown(KeyEventArgs args)
Parameters
System.Windows.Input.KeyEventArgs args

Implements
IKeyboardCommandExecutor.HandleKeyDown(KeyEventArgs)

MoveCurrentToFirst()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToFirst execute callback.

Declaration
protected virtual void MoveCurrentToFirst()

MoveCurrentToLast()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToLast execute callback.

Declaration
protected virtual void MoveCurrentToLast()

MoveCurrentToNext()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToNext execute callback.

Declaration
protected virtual void MoveCurrentToNext()

MoveCurrentToPrevious()

Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToPrevious execute callback.

Declaration
protected virtual void MoveCurrentToPrevious()

ProvideCommandsForKey(KeyEventArgs)

Provides a list of actions to be executed when a key is pressed.

Declaration
public virtual List<DelegateCommandWrapper> ProvideCommandsForKey(KeyEventArgs args)
Parameters
System.Windows.Input.KeyEventArgs args

Returns
System.Collections.Generic.List<DelegateCommandWrapper>

Implements
IKeyboardCommandExecutor.ProvideCommandsForKey(KeyEventArgs)

RegisterCommandBindings()

Registers the CommandBindings.

Declaration
public void RegisterCommandBindings()
Implements
ICommandProvider.RegisterCommandBindings()

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.