Class
MapCommand

Represents a command abstraction that is associated with a particular RadMap instance.

Definition

Namespace:Telerik.Maui.Controls.Map

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public abstract class MapCommand : ICommand

Inheritance: objectMapCommand

Derived Classes: MapZoomInCommandMapZoomOutCommand

Implements: ICommand

Constructors

MapCommand()

Declaration

cs-api-definition
protected MapCommand()

Properties

Map

The RadMap instance that owns the command.

Declaration

cs-api-definition
public RadMap Map { get; }

Property Value

RadMap

Methods

CanExecute(object)

Declaration

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

Parameters

parameter

object

Returns

bool

Implements ICommand.CanExecute(object)

Execute(object)

Declaration

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

Parameters

parameter

object

Implements ICommand.Execute(object)

RaiseCanExecuteChanged()

Invokes the CanExecute.

Declaration

cs-api-definition
public void RaiseCanExecuteChanged()

Events

CanExecuteChanged

Occurs when changes to the command source are detected.

Declaration

cs-api-definition
public event EventHandler CanExecuteChanged

Event Value

EventHandler

Implements ICommand.CanExecuteChanged