C# Class PocketCampus.Main.Services.TileService

Handles Live Tiles on the user's home screen.
Inheritance: ITileService
Afficher le fichier Open project: accandme/pocketcampus

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

SetTileColoring() public méthode

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