MapControl.TransformOriginChanged 事件

定义

MapControlTransformOrigin 属性的值更改时发生。

// Register
event_token TransformOriginChanged(TypedEventHandler<MapControl, IInspectable const&> const& handler) const;

// Revoke with event_token
void TransformOriginChanged(event_token const* cookie) const;

// Revoke with event_revoker
MapControl::TransformOriginChanged_revoker TransformOriginChanged(auto_revoke_t, TypedEventHandler<MapControl, IInspectable const&> const& handler) const;
public event TypedEventHandler<MapControl,object> TransformOriginChanged;
function onTransformOriginChanged(eventArgs) { /* Your code */ }
mapControl.addEventListener("transformoriginchanged", onTransformOriginChanged);
mapControl.removeEventListener("transformoriginchanged", onTransformOriginChanged);
- or -
mapControl.ontransformoriginchanged = onTransformOriginChanged;
Public Custom Event TransformOriginChanged As TypedEventHandler(Of MapControl, Object) 

事件类型

适用于

另请参阅