C# 클래스 PocketCampus.Main.Services.TileService

Handles Live Tiles on the user's home screen.
상속: ITileService
파일 보기 프로젝트 열기: accandme/pocketcampus

공개 메소드들

메소드 설명
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