Dela via


MapControl.TransformOriginChanged Event

Definition

Occurs when the value of the TransformOrigin property of the MapControl changes.

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

Event Type

Applies to

See also