Class TreeViewCommandService
Encapsulates the command-related routine within a Rad
Inherited Members
Namespace: Telerik.XamarinForms.DataControls.TreeView.Commands
Assembly: Telerik.XamarinForms.DataControls.dll
Syntax
public class TreeViewCommandService : CommandServiceBase<RadTreeView>
Methods
CanExecuteCommand(TreeViewCommandId, Object)
Determines whether the command, associated with the specified Id can be executed given the parameter provided.
Declaration
public bool CanExecuteCommand(TreeViewCommandId id, object parameter)
Parameters
Tree The Tree |
System. The parameter that is passed to the CanExecute and Execute methods of the command. |
Returns
System. True if the command can be executed, false otherwise. |
ExecuteCommand(TreeViewCommandId, Object, Boolean)
Attempts to find the command, associated with the specified Id and to perform its Execute routine, using the provided parameter.
Declaration
public bool ExecuteCommand(TreeViewCommandId id, object parameter, bool triggerUserCanExecute = true)
Parameters
Tree The Tree |
System. The parameter that is passed to the CanExecute and Execute methods of the command. |
System.
|
Returns
System. True if the command is successfully executed, false otherwise. |