Class
ListViewUserCommand

Represents a predefined command that aggregates a custom ICommand implementation, which may be used to perform additional action over the default implementation.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.DataControls.ListView.Commands

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public sealed class ListViewUserCommand : ListViewCommand, ICommand

Inheritance: objectAttachableObject<RadListView>ControlCommandBase<RadListView>ListViewCommandListViewUserCommand

Implements: ICommand

Inherited Members ListViewCommand.IdControlCommandBase<RadListView>.CanExecuteChangedAttachableObject<RadListView>.Owner

Constructors

ListViewUserCommand()

Declaration

cs-api-definition
public ListViewUserCommand()

Fields

CommandProperty

Identifies the Command dependency property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandProperty

Field Value

BindableProperty

Properties

Command

Gets or sets the ICommand implementation that is used to perform the custom logic associated with this command.

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

Methods

CanExecute(object)

Determines whether the command can be executed against the provided parameter.

Declaration

cs-api-definition
public override bool CanExecute(object parameter)

Parameters

parameter

object

Returns

bool

Overrides ControlCommandBase<RadListView>.CanExecute(object)

Execute(object)

Performs the core action given the provided parameter.

Declaration

cs-api-definition
public override void Execute(object parameter)

Parameters

parameter

object

Overrides ControlCommandBase<RadListView>.Execute(object)