Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SplashScreen

Applies to Windows and Windows Phone

Defines the appearance of the splash screen, which is displayed by the app during launch.

Element hierarchy

<VisualElements>
<SplashScreen>

Syntax

<SplashScreen BackgroundColor? = A three-byte hexadecimal number preceded by "#" or a named color.
              Image            = A string between 1 and 256 characters in length that ends with ".jpg", ".png", or ".jpeg" that can't contain these characters: <, >, :, ", |, ?, or *. In this string, the / and \ characters can't be the first or last characters. Also, the string can contain / or \ but not both. />

Key

?   optional (zero or one)

Attributes and Elements

Attributes

AttributeDescriptionData typeRequiredDefault value
BackgroundColor

Specifies the background color of the splash screen. See the Remarks section for color names.

A three-byte hexadecimal number preceded by "#" or a named color.No
Image

The path to the splash screen image. See the Remarks section for size requirements.

A string between 1 and 256 characters in length that ends with ".jpg", ".png", or ".jpeg" that can't contain these characters: <, >, :, ", |, ?, or *. In this string, the / and \ characters can't be the first or last characters. Also, the string can contain / or \ but not both.Yes

 

Child Elements

None.

Parent Elements

Parent ElementDescription
VisualElements

Describes the visual aspects of the Windows Store app: its default tile, logo images, text and background colors, initial screen orientation, splash screen, and lock screen tile appearance.

 

Remarks

The splash screen image can be given as either a direct path to an image file or as a resource. By using a resource reference, you can supply images of different scales so that Windows can choose the best size for the device and screen resolution. You can also supply high contrast images for accessibility and localized images to match different UI languages. For more info, see the Globalization and Localizing the package manifest topics.

Size requirements of a splash screen image are shown here:

Image attributesScaleImage size in pixels
Applications\Application\VisualElements\SplashScreen\@Image 100620x300
140868x420
1801116x540

 

The following are supported background color names:

aliceBlueantiqueWhiteaquaaquamarineazurebeige
bisqueblackblanchedAlmondblueblueVioletbrown
burlyWoodcadetBluechartreusechocolatecoralcornflowerBlue
cornsilkcrimsoncyandarkBluedarkCyandarkGoldenrod
darkGraydarkGreendarkKhakidarkMagentadarkOliveGreendarkOrange
darkOrchiddarkReddarkSalmondarkSeaGreendarkSlateBluedarkSlateGray
darkTurquoisedarkVioletdeepPinkdeepSkyBluedimGraydodgerBlue
firebrickfloralWhiteforestGreenfuchsiagainsboroghostWhite
goldgoldenrodgraygreengreenYellowhoneydew
hotPinkindianRedindigoivorykhakilavender
lavenderBlushlawnGreenlemonChiffonlightBluelightCorallightCyan
lightGoldenrodYellowlightGreenlightGraylightPinklightSalmonlightSeaGreen
lightSkyBluelightSlateGraylightSteelBluelightYellowlimelimeGreen
linenmagentamaroonmediumAquamarinemediumBluemediumOrchid
mediumPurplemediumSeaGreenmediumSlateBluemediumSpringGreenmediumTurquoisemediumVioletRed
midnightBluemintCreammistyRosemoccasinnavajoWhitenavy
oldLaceoliveoliveDraborangeorangeRedorchid
paleGoldenrodpaleGreenpaleTurquoisepaleVioletRedpapayaWhippeachPuff
perupinkplumpowderBluepurplered
rosyBrownroyalBluesaddleBrownsalmonsandyBrownseaGreen
seaShellsiennasilverskyBlueslateBlueslateGray
snowspringGreensteelBluetantealthistle
tomatotransparentturquoisevioletwheatwhite
whiteSmokeyellowyellowGreen

 

See also

Colors class

Requirements

Namespace

http://schemas.microsoft.com/appx/2013/manifest

 

 

Show:
© 2014 Microsoft