Visual Basic (Declaration) | |
---|---|
Public Event TileLoaded As EventHandler(Of TiledLayer.TileLoadEventArgs) |
C# | |
---|---|
public event EventHandler<TiledLayer.TileLoadEventArgs> TileLoaded |
This event is only fired if the tile is being downloaded over an http(s) connection. If the image data is readily available when returned from the GetTileSource method, only the TileLoading event will trigger.
The event handler receives an argument of type TiledLayer.TileLoadEventArgs containing data related to this event. The following TiledLayer.TileLoadEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Column | Gets the tile column. |
Error | Gets the error loading tile if a problem occured accessing the tile. |
ImageSource | Gets or sets the tile image source. You can set this in the event handler to intercept and modify tiles. |
ImageStream | Gets the tile image stream. |
Level | Gets the tile level. |
Row | Gets the tile row. |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8