Implemented interface member:
property
Command
Microsoft.Maui.Controls.ISwipeItem.Command
13 references to Command
Microsoft.Maui.Controls (13)
SwipeView\SwipeItemView.cs (13)
12
/// <summary>Bindable property for <see cref="
Command
"/>.</summary>
13
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(
Command
), typeof(ICommand), typeof(SwipeItemView), null,
41
if (
Command
!= null &&
Command
.CanExecute(CommandParameter))
42
Command
.Execute(CommandParameter);
49
IsEnabled =
Command
?.CanExecute(CommandParameter) ?? true;
51
if (
Command
== null)
54
Command
.CanExecuteChanged += OnCommandCanExecuteChanged;
59
if (
Command
== null)
62
Command
.CanExecuteChanged -= OnCommandCanExecuteChanged;
67
if (
Command
== null)
70
IsEnabled =
Command
.CanExecute(CommandParameter);
75
IsEnabled =
Command
.CanExecute(CommandParameter);