Class ShapeFileRefreshCommand
Represents the ShapeFileRefreshCommand class in the SfMap. It is inherited from MapLayerCommandBase.
Implements
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.WPF.dll
Syntax
public class ShapeFileRefreshCommand : MapLayerCommandBase, ICommand
Remarks
This class represents the ShapeFileRefreshCommand in the map. Also it is inherited from MapLayerCommandBase.
Constructors
ShapeFileRefreshCommand(SfMap)
Initializes a new instance of the ShapeFileRefreshCommand class.
Declaration
public ShapeFileRefreshCommand(SfMap mapControl)
Parameters
Type | Name | Description |
---|---|---|
SfMap | mapControl | SfMap which is having ShapeFileRefreshCommand and its implementations. |
Remarks
Initialize the MapControl property of the ShapeFileRefreshCommand.
Methods
CanExecute(Object)
Determines whether ShapeFileRefreshCommand 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 ShapeFileRefreshCommand target; otherwise, false. |
Overrides
Execute(Object)
Executes the ShapeFileRefreshCommand 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 ShapeFileRefreshCommand handler. |