Delen via


SecondaryTile.DisplayName Property

Definition

Gets or sets a name that is associated with and displayed on the tile. This name is displayed on the tile in Start, in the tile's tooltip, next to the small tile representation in the Apps list, and in some Control Panel applications. This property is required when you create a tile. It is the equivalent of the display name declared in the manifest for the app's main tile.

On Windows Phone 8.1, the display name is shown only on the wide secondary tile.

public:
 property Platform::String ^ DisplayName { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DisplayName();

void DisplayName(winrt::hstring value);
public string DisplayName { get; set; }
var string = secondaryTile.displayName;
secondaryTile.displayName = string;
Public Property DisplayName As String

Property Value

String

Platform::String

winrt::hstring

The display name. This string is limited to 256 characters, but in reality should be kept short to avoid truncation.

Remarks

This display name is visible to searches.

Applies to