Provides command logic and navigation functionality for a RadPropertyGrid control.
Definition
Namespace:Telerik.Windows.Controls.Data.PropertyGrid
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
public class PropertyGridCommandProvider : DependencyObject, ICommandProvider, IKeyboardCommandExecutor
Inheritance: objectPropertyGridCommandProvider
Implements:
Constructors
Initializes a new instance of the PropertyGridCommandProvider class.
public PropertyGridCommandProvider()
Initializes a new instance of the PropertyGridCommandProvider class.
public PropertyGridCommandProvider(RadPropertyGrid propertyGrid)
Fields
EnableBuiltInNavigationProperty
DependencyProperty
Represents the EnableBuiltInNavigation dependency property.
public static readonly DependencyProperty EnableBuiltInNavigationProperty
PropertyGridProperty
DependencyProperty
Represents the PropertyGrid DependencyProperty.
public static readonly DependencyProperty PropertyGridProperty
ShouldProcessHandledEventsProperty
DependencyProperty
Represents the ShouldProcessHandledEvents dependency property.
public static readonly DependencyProperty ShouldProcessHandledEventsProperty
Properties
Gets the index of the current PropertyDefinition.
protected int CurrentIndex { get; }
The index of the current.
Gets or sets a value that indicates whether custom control navigation logic should be enabled.
public bool EnableBuiltInNavigation { get; set; }
Implements:
Gets or sets the RadPropertyGrid instance related to this provider.
public RadPropertyGrid PropertyGrid { get; set; }
The RadPropertyGrid instance.
Gets or sets a value that indicates whether handled events should be processed.
public bool ShouldProcessHandledEvents { get; set; }
Implements:
Gets the processed PropertyDefinitions list.
protected List<object> SourceList { get; }
The source list.
Methods
Represents the logic that is going to be executed in RadPropertyGridCommands.ExpandCurrentField can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.Group can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageDown can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageUp can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToFirst can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToLast can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToNext can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToPrevious can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.Search can-execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.Sort can-execute callback.
Ensures that the PropertyDefinition with the given index is scrolled into view.
Represents the logic that is going to be executed in RadPropertyGridCommands.ExpandCurrentField execute callback.
protected virtual void ExpandCurrentField()
Expands the current item.
protected void ExpandCurrentFieldInternal()
Represents the logic that is going to be executed in RadPropertyGridCommands.Group execute callback.
protected virtual void Group()
Handles the logic executed on KeyDown.
public virtual void HandleKeyDown(KeyEventArgs args)
Implements:
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageDown execute callback.
protected virtual void MovePageDown()
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageUp execute callback.
protected virtual void MovePageUp()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToFirst execute callback.
protected virtual void MoveToFirst()
Executes the logic that moves focus to the first field's editor.
protected void MoveToFirstInternal()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToFirst execute callback.
protected virtual void MoveToLast()
Executes the logic that moves focus to the last field's editor.
protected void MoveToLastInternal()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToNext execute callback.
protected virtual void MoveToNext()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToPrevious execute callback.
protected virtual void MoveToPrevious()
Provides a list of actions to be executed when a key is pressed.
public virtual List<DelegateCommandWrapper> ProvideCommandsForKey(KeyEventArgs args)
Implements:
Registers the CommandBindings.
public void RegisterCommandBindings()
Implements:
Scrolls the PropertyDefinition with the given index into view.
protected void ScrollIndexIntoView(int index, ScrollViewer scrollViewer)
The index.
scrollViewerScrollViewerThe scroll viewer.
Represents the logic that is going to be executed in RadPropertyGridCommands.Search execute callback.
Represents the logic that is going to be executed in RadPropertyGridCommands.Sort execute callback.
protected virtual void Sort()