<mx:ContentPackageVisualElements> Element

Visual aspects of a downloadable content package.

This element is required.

Syntax

<mx:ContentPackageVisualElements
  DisplayName = string
  Logo = string
  SmallLogo = string
  WideLogo = string
  Description = string
  ForegroundText = string
  BackgroundColor = string />  

Attributes

DisplayName
A friendly name for the downloadable content that can be displayed to users. DisplayName is a string between 1 and 256 characters in length.

DisplayName is also used for voice user interface (VUI) strings in the shell and collection.

Logo
An image used as the app’s square tile. Logo is a string between 1 and 256 characters in length that ends with “.jpg”, “.png”, or “.jpeg” that cannot contain these characters: <, >, :, “, /, \, |, ?, or *.

SmallLogo
A small image shown in the corner of the tile to identify the downloadable content. SmallLogo is a string between 1 and 256 characters in length that ends with “.jpg”, “.png”, or “.jpeg” that cannot contain these characters: <, >, :, “, /, \, |, ?, or *.

WideLogo
A small image shown in the corner of the tile to identify the downloadable content. WideLogo is a string between 1 and 256 characters in length that ends with “.jpg”, “.png”, or “.jpeg” that cannot contain these characters: <, >, :, “, /, \, |, ?, or *.

Description
The description of the downloadable content. Description is a string between 1 and 2048 characters in length that cannot include characters such as tabs, carriage returns, and line feeds.

ForegroundText
Specifies the foreground color of the app tile. This attribute can have one of the following values: light, dark

BackgroundColor
Specifies the background color of the downloadable content tile. BackgroundColor is a three-byte hexadecimal number preceded by “#” or a named color.

Element information

Parent elements mx:ContentPackage

Example

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest"
         xmlns:mx="http://schemas.microsoft.com/appx/2013/xbox/manifest"
         IgnorableNamespaces="mx">

  <Identity Name="MarbleMaze.DLC.Eyeball"
            Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
            Version="1.0.0.0" />

  <Properties>
    <DisplayName>Eyeball Marble DLC</DisplayName>
    <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
    <Logo>logo.png</Logo>
    <Description>Eyeball Marble DLC for MarbleMaze</Description>
    <mx:ContentPackage>true</mx:ContentPackage>
  </Properties>

  <Prerequisites>
    <OSMinVersion>6.2</OSMinVersion>
    <OSMaxVersionTested>6.2</OSMaxVersionTested>
    <mx:ApplicationEnvironment>title</mx:ApplicationEnvironment>
    <mx:OSName>era</mx:OSName>
  </Prerequisites>

  <Resources>
    <Resource Language="en-US" />
  </Resources>

  <Extensions>
    <mx:PackageExtension Category="xbox.contentpackage">
      <mx:ContentPackage>
        <mx:AllowedProduct Id="0eafd21d-2911-4be5-95fb-6dc0b50b6152" />
        <mx:ContentPackageVisualElements
            DisplayName="ATG Sample Durable DLC 1"
            Logo="Logo.png"
            SmallLogo="Logo.png"
            WideLogo="Logo.png"
            Description="ATG Sample Durable DLC 1"
            ForegroundText="dark"
            BackgroundColor="#000040" />
      </mx:ContentPackage>
    </mx:PackageExtension>
  </Extensions>
</Package>