WinRTLiveTileManager.UpdateTile(WideTile, SquareTile) Method

Replaces the current Live Tile content with the new one.

Namespace: DevExpress.XtraBars.WinRTLiveTiles

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public UpdateTileResult UpdateTile(
    WideTile wideTile,
    SquareTile squareTile
)
Public Function UpdateTile(
    wideTile As WideTile,
    squareTile As SquareTile
) As UpdateTileResult

Parameters

Name Type Description
wideTile WideTile

A WideTile template.

squareTile SquareTile

A SquareTile template.

Returns

Type Description
DevExpress.XtraBars.WinRTLiveTiles.UpdateTileResult

An UpdateTileResult enumerator value specifying whether the operation was successfully completed.

Remarks

The UpdateTile method removes all the current Live Tile content (and content animation queue) and replaces it with the new content, specified via the WideTile and SquareTile templates. You can also add a specific content to the animation queue instead of destroying the current content. To do this, use the WinRTLiveTileManager.UpdateTile method that takes the enableQueue parameter instead.

NOTE

It's not recommended to use the UpdateTile method too often. Normally, as the Microsoft Supporting Apps with Background Tasks article states, update operations should not exceed 2 seconds of CPU time each 15 minutes. More frequent use of the UpdateTile method may cause the background tasks to malfunction.

See Also