ClassDataFormCommandProvider
Provides CommandBinding subscription functionality for RadDataForm.
Definition
Namespace:Telerik.Windows.Controls.Data.DataForm
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
public class DataFormCommandProvider : DependencyObject, ICommandProvider, IKeyboardCommandExecutor
Inheritance: objectDataFormCommandProvider
Implements:
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
dataForm
Fields
DataFormProperty
Represents the DataForm DependencyProperty.
Declaration
public static readonly DependencyProperty DataFormProperty
Field Value
DependencyProperty
EnableBuiltInNavigationProperty
Represents the EnableBuiltInNavigation dependency property.
Declaration
public static readonly DependencyProperty EnableBuiltInNavigationProperty
Field Value
DependencyProperty
ShouldProcessHandledEventsProperty
Represents the ShouldProcessHandledEvents dependency property.
Declaration
public static readonly DependencyProperty ShouldProcessHandledEventsProperty
Field Value
DependencyProperty
Properties
DataForm
Gets or sets the RadDataForm instance related to this provider.
Declaration
public RadDataForm DataForm { get; set; }
Property Value
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
Implements
ShouldProcessHandledEvents
Gets or sets a value that indicates whether handled events should be processed.
Declaration
public bool ShouldProcessHandledEvents { get; set; }
Property Value
Implements
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.
CanBeginEditExecute()
Represents the logic that is going to be executed in RadDataFormCommands.BeginEdit can-execute callback.
CanCancelEditExecute()
Represents the logic that is going to be executed in RadDataFormCommands.CancelEdit can-execute callback.
CanCommitEditExecute()
Represents the logic that is going to be executed in RadDataFormCommands.CommitEdit can-execute callback.
CanDeleteExecute()
Represents the logic that is going to be executed in RadDataFormCommands.Delete can-execute callback.
CanMoveCurrentToFirstExecute()
Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToFirst can-execute callback.
CanMoveCurrentToLastExecute()
Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToLast can-execute callback.
CanMoveCurrentToNextExecute()
Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToNext can-execute callback.
CanMoveCurrentToPreviousExecute()
Represents the logic that is going to be executed in RadDataFormCommands.MoveCurrentToPrevious can-execute callback.
CancelEdit()
Represents the logic that is going to be executed in RadDataFormCommands.CancelEdit execute callback.
Declaration
protected virtual void CancelEdit()
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
args
KeyEventArgs
Implements
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
args
KeyEventArgs
Returns
Implements
RegisterCommandBindings()
Registers the CommandBindings.
Declaration
public void RegisterCommandBindings()
Implements