Class TreeViewUserCommand
Represents a predefined command that aggregates a custom ICommand implementation, which may be used to perform additional action over the default implementation.
Inheritance
Inherited Members
Namespace: Telerik.XamarinForms.DataControls.TreeView.Commands
Assembly: Telerik.XamarinForms.DataControls.dll
Syntax
public sealed class TreeViewUserCommand : TreeViewCommand, ICommand
Constructors
TreeViewUserCommand()
Declaration
public TreeViewUserCommand()
Fields
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Xamarin.Forms.BindableProperty
|
SuppressDefaultCommandProperty
Identifies the SuppressDefaultCommand dependency property.
Declaration
public static readonly BindableProperty SuppressDefaultCommandProperty
Field Value
Xamarin.Forms.BindableProperty
|
Properties
Command
Gets or sets the System.Windows.Input.ICommand implementation that is used to perform the custom logic associated with this command.
Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
|
SuppressDefaultCommand
Gets or sets a value indicating wheather the default implementation of the command should be executed.
Declaration
public bool SuppressDefaultCommand { get; set; }
Property Value
System.Boolean
|
Methods
CanExecute(Object)
Determines whether the command can be executed against the provided parameter.
Declaration
public override bool CanExecute(object parameter)
Parameters
System.Object
parameter
|
Returns
System.Boolean
|
Overrides
Execute(Object)
Performs the core action given the provided parameter.
Declaration
public override void Execute(object parameter)
Parameters
System.Object
parameter
|