File: ICommandElement.cs
Web Access
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls)
#nullable enable
using System;
using System.Windows.Input;
 
namespace Microsoft.Maui.Controls.Internals
{
	interface ICommandElement
	{
		// note to implementor: implement these properties publicly
		ICommand? Command { get; }
		object? CommandParameter { get; }
 
		// implement these explicitly
		void CanExecuteChanged(object? sender, EventArgs e);
	}
}