Class ZoomInCommand
Represents the ZoomInCommand class in the SfMap. It is inherited from MapLayerCommandBase.
Implements
System.Windows.Input.ICommand
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.UWP.dll
Syntax
public class ZoomInCommand : MapLayerCommandBase, ICommand
Remarks
This class represents the ZoomInCommand in the map. Also it is inherited from MapLayerCommandBase.
Constructors
ZoomInCommand(SfMap)
Initializes a new instance of the ZoomInCommand class.
Declaration
public ZoomInCommand(SfMap mapControl)
Parameters
Type | Name | Description |
---|---|---|
SfMap | mapControl | SfMap which is having ZoomInCommand and its implementations. |
Remarks
Initialize the MapControl property of the ZoomInCommand.
Methods
CanExecute(Object)
Determines whether ZoomInCommand can execute in its current state.
Declaration
public override bool CanExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | Type :System.Object object to determine can execute. |
Returns
Type | Description |
---|---|
System.Boolean | Type :System.Boolean true if the command can execute on the ZoomInCommand target; otherwise, false. |
Overrides
Execute(Object)
Executes the ZoomInCommand on the target.
Declaration
public override void Execute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | Type :System.Object Parameter to be passed to the ZoomInCommand handler. |
Overrides
Implements
System.Windows.Input.ICommand