C# Class PocketCampus.Main.Services.TileService

Handles Live Tiles on the user's home screen.
Inheritance: ITileService
Datei anzeigen Open project: accandme/pocketcampus

Public Methods

Method Description
CreateTile ( IPlugin plugin ) : void

Creates a Live Tile for the specified plugin.

SetTileColoring ( bool useColor ) : void

Sets the tile coloring; either colored, or white.

Private Methods

Method Description
RenderVector ( string templateKey, double size ) : Uri

Renders the vector icon with the specified resource key, as an image of the specified size, and returns an URI for tile icons.

The key is for a ControlTemplate, it's the easiest way to store a path in resources.

Method Details

CreateTile() public method

Creates a Live Tile for the specified plugin.
public CreateTile ( IPlugin plugin ) : void
plugin IPlugin
return void

SetTileColoring() public method

Sets the tile coloring; either colored, or white.
public SetTileColoring ( bool useColor ) : void
useColor bool
return void