C# Class SuperMap.WinRT.Actions.Pan

${ui_action_Pan_Title}。

${ui_action_Pan_Description}

Inheritance: MapAction
Datei anzeigen Open project: SuperMap/iClient-for-Win8 Class Usage Examples

Public Methods

Method Description
Deactivate ( ) : void

${ui_action_Pan_method_deactivate_D}

OnDoubleTapped ( Windows e ) : void

${ui_action_Pan_event_OnDoubleTapped_D}

OnKeyDown ( KeyRoutedEventArgs e ) : void

${ui_action_Pan_event_OnKeyDown_D}

OnManipulationDelta ( Windows e ) : void

${ui_action_Pan_event_OnManipulationDelta_D}

OnPointerCanceled ( Windows e ) : void
OnPointerCaptureLost ( Windows e ) : void
OnPointerEntered ( Windows e ) : void
OnPointerExited ( Windows e ) : void
OnPointerPressed ( Windows e ) : void
OnPointerReleased ( Windows e ) : void
OnPointerWheelChanged ( Windows e ) : void

${ui_action_Pan_event_OnPointerWheelChanged_D}

Pan ( Map map ) : System.Windows

${ui_action_Pan_constructor_Map_D}

Private Methods

Method Description
Dispose ( ) : void
EndManipulation ( ) : void

只有在Zooming的状态下,才能认为会结束。

EndPan ( ) : void

只有在Panning的状态下,才能认为会结束。因为单击和双击也会触发这个方法。

StartManipulation ( ) : void
StartedPan ( ) : void
_devices_CollectionChanged ( object sender, System e ) : void

计算出接触点的变化,由于状态的切换会有重复,因此需要做多个if判断 在此只能判断是否需要结束,无法判断开始。因为可能出现接触点没有移动的情况,在这种情况下,是不能开始的。 比如单击,双击,有接触点变化,但是没有平移,因此不能作为开始平移和结束平移的依据。

Method Details

Deactivate() public method

${ui_action_Pan_method_deactivate_D}
public Deactivate ( ) : void
return void

OnDoubleTapped() public method

${ui_action_Pan_event_OnDoubleTapped_D}
public OnDoubleTapped ( Windows e ) : void
e Windows
return void

OnKeyDown() public method

${ui_action_Pan_event_OnKeyDown_D}
public OnKeyDown ( KeyRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.KeyRoutedEventArgs
return void

OnManipulationDelta() public method

${ui_action_Pan_event_OnManipulationDelta_D}
public OnManipulationDelta ( Windows e ) : void
e Windows
return void

OnPointerCanceled() public method

public OnPointerCanceled ( Windows e ) : void
e Windows
return void

OnPointerCaptureLost() public method

public OnPointerCaptureLost ( Windows e ) : void
e Windows
return void

OnPointerEntered() public method

public OnPointerEntered ( Windows e ) : void
e Windows
return void

OnPointerExited() public method

public OnPointerExited ( Windows e ) : void
e Windows
return void

OnPointerPressed() public method

public OnPointerPressed ( Windows e ) : void
e Windows
return void

OnPointerReleased() public method

public OnPointerReleased ( Windows e ) : void
e Windows
return void

OnPointerWheelChanged() public method

${ui_action_Pan_event_OnPointerWheelChanged_D}
public OnPointerWheelChanged ( Windows e ) : void
e Windows
return void

Pan() public method

${ui_action_Pan_constructor_Map_D}
public Pan ( Map map ) : System.Windows
map SuperMap.WinRT.Mapping.Map ${ui_action_Pan_constructor_Map_param_map}
return System.Windows