ClassPropertyGridCommandProvider
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
PropertyGridCommandProvider()
Initializes a new instance of the PropertyGridCommandProvider class.
Declaration
public PropertyGridCommandProvider()
PropertyGridCommandProvider(RadPropertyGrid)
Initializes a new instance of the PropertyGridCommandProvider class.
Declaration
public PropertyGridCommandProvider(RadPropertyGrid propertyGrid)
Parameters
propertyGrid
Fields
EnableBuiltInNavigationProperty
Represents the EnableBuiltInNavigation dependency property.
Declaration
public static readonly DependencyProperty EnableBuiltInNavigationProperty
Field Value
DependencyProperty
PropertyGridProperty
Represents the PropertyGrid DependencyProperty.
Declaration
public static readonly DependencyProperty PropertyGridProperty
Field Value
DependencyProperty
ShouldProcessHandledEventsProperty
Represents the ShouldProcessHandledEvents dependency property.
Declaration
public static readonly DependencyProperty ShouldProcessHandledEventsProperty
Field Value
DependencyProperty
Properties
CurrentIndex
Gets the index of the current PropertyDefinition.
Declaration
protected int CurrentIndex { get; }
Property Value
The index of the current.
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
PropertyGrid
Gets or sets the RadPropertyGrid instance related to this provider.
Declaration
public RadPropertyGrid PropertyGrid { get; set; }
Property Value
The RadPropertyGrid instance.
ShouldProcessHandledEvents
Gets or sets a value that indicates whether handled events should be processed.
Declaration
public bool ShouldProcessHandledEvents { get; set; }
Property Value
Implements
SourceList
Gets the processed PropertyDefinitions list.
Methods
CanExpandCurrentField()
Represents the logic that is going to be executed in RadPropertyGridCommands.ExpandCurrentField can-execute callback.
CanGroup()
Represents the logic that is going to be executed in RadPropertyGridCommands.Group can-execute callback.
CanMovePageDown()
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageDown can-execute callback.
CanMovePageUp()
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageUp can-execute callback.
CanMoveToFirst()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToFirst can-execute callback.
CanMoveToLast()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToLast can-execute callback.
CanMoveToNext()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToNext can-execute callback.
CanMoveToPrevious()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToPrevious can-execute callback.
CanSearch()
Represents the logic that is going to be executed in RadPropertyGridCommands.Search can-execute callback.
CanSort()
Represents the logic that is going to be executed in RadPropertyGridCommands.Sort can-execute callback.
EnsureIndexIntoView(int)
Ensures that the PropertyDefinition with the given index is scrolled into view.
ExpandCurrentField()
Represents the logic that is going to be executed in RadPropertyGridCommands.ExpandCurrentField execute callback.
Declaration
protected virtual void ExpandCurrentField()
ExpandCurrentFieldInternal()
Expands the current item.
Declaration
protected void ExpandCurrentFieldInternal()
Group()
Represents the logic that is going to be executed in RadPropertyGridCommands.Group execute callback.
Declaration
protected virtual void Group()
HandleKeyDown(KeyEventArgs)
Handles the logic executed on KeyDown.
Declaration
public virtual void HandleKeyDown(KeyEventArgs args)
Parameters
args
KeyEventArgs
Implements
MovePageDown()
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageDown execute callback.
Declaration
protected virtual void MovePageDown()
MovePageUp()
Represents the logic that is going to be executed in RadPropertyGridCommands.MovePageUp execute callback.
Declaration
protected virtual void MovePageUp()
MoveToFirst()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToFirst execute callback.
Declaration
protected virtual void MoveToFirst()
MoveToFirstInternal()
Executes the logic that moves focus to the first field's editor.
Declaration
protected void MoveToFirstInternal()
MoveToLast()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToFirst execute callback.
Declaration
protected virtual void MoveToLast()
MoveToLastInternal()
Executes the logic that moves focus to the last field's editor.
Declaration
protected void MoveToLastInternal()
MoveToNext()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToNext execute callback.
Declaration
protected virtual void MoveToNext()
MoveToPrevious()
Represents the logic that is going to be executed in RadPropertyGridCommands.MoveToPrevious execute callback.
Declaration
protected virtual void MoveToPrevious()
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
ScrollIndexIntoView(int, ScrollViewer)
Scrolls the PropertyDefinition with the given index into view.
Declaration
protected void ScrollIndexIntoView(int index, ScrollViewer scrollViewer)
Parameters
index
The index.
scrollViewer
ScrollViewer
The scroll viewer.
Search(string)
Represents the logic that is going to be executed in RadPropertyGridCommands.Search execute callback.
Declaration
protected virtual void Search(string searchParameter)
Parameters
searchParameter
Sort()
Represents the logic that is going to be executed in RadPropertyGridCommands.Sort execute callback.
Declaration
protected virtual void Sort()