menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ZoomOutCommand - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ZoomOutCommand

    Represents the ZoomOutCommand class in the SfMap. It is inherited from MapLayerCommandBase.

    Inheritance
    System.Object
    MapLayerCommandBase
    ZoomOutCommand
    Implements
    System.Windows.Input.ICommand
    Inherited Members
    MapLayerCommandBase.CanExecuteChanged
    MapLayerCommandBase.MapControl
    Namespace: Syncfusion.UI.Xaml.Maps
    Assembly: Syncfusion.SfMaps.UWP.dll
    Syntax
    public class ZoomOutCommand : MapLayerCommandBase, ICommand
    Remarks

    This class represents the ZoomOutCommand in the map. Also it is inherited from MapLayerCommandBase.

    Constructors

    ZoomOutCommand(SfMap)

    Initializes a new instance of the ZoomOutCommand class.

    Declaration
    public ZoomOutCommand(SfMap mapControl)
    Parameters
    Type Name Description
    SfMap mapControl

    SfMap which is having ZoomOutCommand and its implementations.

    Remarks

    Initialize the MapControl property of the ZoomOutCommand.

    Methods

    CanExecute(Object)

    Determines whether ZoomOutCommand 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 ZoomOutCommand target; otherwise, false.

    Overrides
    MapLayerCommandBase.CanExecute(Object)

    Execute(Object)

    Executes the ZoomOutCommand 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 ZoomOutCommand handler.

    Overrides
    MapLayerCommandBase.Execute(Object)

    Implements

    System.Windows.Input.ICommand

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved