共用方式為


CustomMapTileDataSource.BitmapRequested 事件

定義

發生于要求 CustomMapTileDataSource的點陣圖時。 MapTileBitmapRequestedEventArgs的實例會提供此事件的資料。

// Register
event_token BitmapRequested(TypedEventHandler<CustomMapTileDataSource, MapTileBitmapRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CustomMapTileDataSource::BitmapRequested_revoker BitmapRequested(auto_revoke_t, TypedEventHandler<CustomMapTileDataSource, MapTileBitmapRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<CustomMapTileDataSource,MapTileBitmapRequestedEventArgs> BitmapRequested;
function onBitmapRequested(eventArgs) { /* Your code */ }
customMapTileDataSource.addEventListener("bitmaprequested", onBitmapRequested);
customMapTileDataSource.removeEventListener("bitmaprequested", onBitmapRequested);
- or -
customMapTileDataSource.onbitmaprequested = onBitmapRequested;
Public Custom Event BitmapRequested As TypedEventHandler(Of CustomMapTileDataSource, MapTileBitmapRequestedEventArgs) 

事件類型

適用於

另請參閱