C# Класс PocketCampus.Main.Services.TileService

Handles Live Tiles on the user's home screen.
Наследование: ITileService
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateTile ( IPlugin plugin ) : void

Creates a Live Tile for the specified plugin.

SetTileColoring ( bool useColor ) : void

Sets the tile coloring; either colored, or white.

Приватные методы

Метод Описание
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.

Описание методов

CreateTile() публичный Метод

Creates a Live Tile for the specified plugin.
public CreateTile ( IPlugin plugin ) : void
plugin IPlugin
Результат void

SetTileColoring() публичный Метод

Sets the tile coloring; either colored, or white.
public SetTileColoring ( bool useColor ) : void
useColor bool
Результат void