Version

Adding WinLiveTileView Using the Designer

Topic Overview

Purpose

This topic demonstrates how to add the UltraLiveTileView™ control and tiles in an application using the designer interface.

Adding WinLiveTileView Control

Adding the control

  1. Create a new Windows forms project and drop the UltraLiveTileView control from the Toolbox area onto the form or some container.

Adding WinLiveTileView Using the Designer 1.png
  1. Use the controls smart tag (outlined in the screenshot) to drop down its task dialog window and click the “ UltraLiveTileView Designer ” link.

Adding WinLiveTileView Using the Designer 2.png

Alternatively, complete the step by right-clicking on the UltraLiveTileView control and choosing the “ UltraLiveTileView Designer ” link.

Adding WinLiveTileView Using the Designer 3.png

The designer windows opens up as follows:

Adding WinLiveTileView Using the Designer 4.png
  1. Observe the designer elements. The designer scaling drop-down allows scaling the tiles in their group area to see the different tiles while working with them.

Note
Note:

the following screenshot display the Template view (outlined).

Adding WinLiveTileView Using the Designer 5.png

Adding a Static Tile

Adding a static tile

  1. Click on the Others group of templates to display the static templates. The static tiles come in two sizes; medium and small.

The small live tile, seen below the static templates, is the same size for all live tiles making it easiest to preview it here to be in one location.

Adding WinLiveTileView Using the Designer 6.png
  1. Drag the medium tile from the preview area to the control’s surface.

Adding WinLiveTileView Using the Designer 7.png
  1. The result after dragging a tile.

Creates a uniquely keyed, automatically generated group . By default, the group name is editable and derives from the text. The images on tile templates are removed while dragging the tile from the preview area to the control’s surface. Those images are merely for previewing purposes.

Adding WinLiveTileView Using the Designer 8.png
  1. Configure the tile by typing in text and adding an image from your image source. For adding an image, use the image property’s drop-down button with the ellipses ().

Do the same for Scale100Percent, Scale140Percent, Scale180Percent and Scale80Percent thus allowing the tile images to display properly in any of the scaled views. For more about tile sizes, refer to WinLiveTileView Control topic.

Adding WinLiveTileView Using the Designer 9.png
  1. The resultant designer image. Optionally, run the application to verify the result.

Adding WinLiveTileView Using the Designer 10.png

Adding a Live Tile

Adding a live tile

  1. Click on a tile template and drag it over the control’s surface (On Left).

Adding WinLiveTileView Using the Designer 11.png

The following screenshot is the result of dragging a tile from the preview area to the control.

Note
Note:

The tile template shown in the tile group does not transfer the image displayed in the preview area. The images are merely for previewing purposes.

Adding WinLiveTileView Using the Designer 12.png
  1. To make configuring quick and easy each tile has three buttons (Delete, Duplicate and Edit). Clicking on the tile displays the buttons on the left side of the tile. The buttons are hidden when the tile is unchecked.

Adding WinLiveTileView Using the Designer 13.png

You can also right-click on the tile and select a configuration option.

Adding WinLiveTileView Using the Designer 14.png
  1. Select the “ Edit Tile… ” option or click the Edit button to open a tile configuration dialog window.

This window displays the different frame types (On Left) for the selected live tile and two image properties (Small and Collapsed). The reason for this property layout is to simplify configuration by dragging a template over to the frame’s layout, which then adds that template to the frame’s collection as the frame’s content.

Adding WinLiveTileView Using the Designer 15.png

Click on a tile in the Medium Frames layout, and then click the Properties tab (On Right). It displays only the properties of that object. The benefit of doing this is that you do not have to look through all the control’s properties trying to find the medium frames object, the property grid will only display that object.

Each tile consists of set of properties, supporting different image resolutions, which you can inspect in the property grid (On Right).

Adding WinLiveTileView Using the Designer 16.png
  1. Expand the AllResolutions property and click on the image property. This enables the ellipse button () allowing you to attach an image from your image source.

Do the same for Scale100Percent, Scale140Percent, Scale180Percent and Scale80Percent thus allowing the tile images to display properly in any of the scaled views.

Adding WinLiveTileView Using the Designer 17.png

Repeat the previous step for wide and large frames, and add images for small and collapsed views.

Adding WinLiveTileView Using the Designer 18.png
  1. Click the Apply button on the designer window to save the tile configuration. Then click Ok to close the designer window. Optionally, run the application to verify the result including resizing to small, wide, large, and collapsed views.

Adding WinLiveTileView Using the Designer 19.png

Adding a Live Tile with Animation

Adding a live tile with animation

The procedure for adding live tiles with animation is the same as in Adding a Live Tile. The only difference is the additional frames in the collection.

Repeat Step3 from Adding a Live Tile to add more frames to the Medium frames collection that will result in animating the frames. The animation runs by default when a live tile contains multiple frames.

Observe the following screenshot. It contains two frames with different contents. As soon as you add the second frame and save (click OK ), you will see the animation in the designer window. The animation applies immediately.

Adding WinLiveTileView Using the Designer 20.png

Another way to add frames is through the properties as illustrated in the following screenshot.

Adding WinLiveTileView Using the Designer 21.png

The animation feature’s key properties are Animation and Interval as pointed out with arrows below. By default, the interval is five seconds and the available animation options are:

Adding WinLiveTileView Using the Designer 22.png

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic demonstrates how to add the UltraLiveTileView control and tiles in code-behind.

The topics in this group introduce the latest UltraLivetileView control, along with instructions on its use and configuration. This control is similar to Microsoft 8 operating system’s tiles start screen.