Tiles for WinRT > Working with Tiles for WinRT > C1SlideTile Control |
Based on the C1Tile control, the C1SlideTile control includes a sliding animation between templates; however, the C1SlideTile.SlideDirection property determines the direction the content slides. You can set the SlideDirection property to one of the following values (the default value is All):
Value |
Direction |
Up |
Bottom to top. |
Left |
Right to left. |
Down |
Top to bottom. |
Right |
Left to right. |
All (default) |
All. |
For example, here's an example of a C1SlideTile control with its SlideDirection property set to Right:
Markup |
Copy Code
|
---|---|
<c1tile:C1SlideTile Content="4" Header="C1SlideTile, SlideDirection = Right" HeaderPadding="12" Padding="0" SlideDirection="Right" HorizontalHeaderAlignment="Right"/> |
The markup above creates the following C1SlideTile control: