共用方式為


MapControl.TransformOriginChanged 事件

定義

發生于MapControl的 TransformOrigin屬性值變更時。

// 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) 

事件類型

適用於

另請參閱