uap:SplashScreen (Windows 10)

起動時にアプリによって表示されるスプラッシュ スクリーンの外観を定義します。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <uap:VisualElements>

                   <uap:SplashScreen>

構文

<uap:SplashScreen
    BackgroundColor = 'An optional three-byte hexadecimal number preceded by "#" or a named color. See the [Remarks](#remarks) for a list of named colors.'
    Image = 'A string with a value between 1 and 256 characters in length that ends with ".jpg", ".png", or ".jpeg" that cannot contain these characters: <, >, :, ", |, ?, or *. In this string, the / and \ characters cannot be the first or last characters. Also, the string can contain / or \ but not both.' 
    uap5:Optional = 'An optional boolean value.' />

キー

? 省略可能 (0 または 1)

属性と要素

属性

属性 説明 データ型 必須 既定値
BackgroundColor スプラッシュ スクリーンの背景色を指定します。 色名の一覧については、「 解説 」セクションを参照してください。 省略可能な 3 バイトの 16 進数の前に "#" または名前付き色。 名前付き色の一覧については、「 解説 」を参照してください。 いいえ
Image スプラッシュ スクリーンイメージへのパス。 サイズ要件については、「 解説 」セクションを参照してください。 、または で終わる.jpg<>.jpeg.png"|:?長さが 1 ~ 256 文字の文字列。* この文字列では、 / 文字と \ 文字を先頭または最後の文字にすることはできません。 また、文字列には または \ を含めることができますが、両方を含/めることもできます。 Yes
uap5:省略可能 スプラッシュ スクリーンなしでアプリを起動するかどうかを指定します。 true の場合、アプリが十分に高速に起動できる場合、スプラッシュ スクリーンは表示されません。 アプリの起動時間に遅延がある場合は、スプラッシュ画面が表示されます。 false の場合、スプラッシュ スクリーンは常に表示されます。 省略可能なブール値。 いいえ

子要素

なし。

親要素

親要素 説明
uap:VisualElements 既定のタイル、ロゴ画像、テキストと背景色、初期画面の向き、スプラッシュスクリーン、ロック画面タイルの外観など、アプリの視覚的な側面について説明します。

注釈

スプラッシュ スクリーン イメージは、イメージ ファイルへの直接パスまたはリソースとして指定できます。 リソース参照を使用すると、Windows がデバイスと画面の解像度に最適なサイズを選択できるように、さまざまなスケールの画像を提供できます。 アクセシビリティのためのハイ コントラスト画像や、さまざまな UI 言語に対応するローカライズされた画像を提供することもできます。 詳細については、「 グローバリゼーション 」トピックを参照してください。

スプラッシュ スクリーン イメージのサイズ要件を次に示します。

  • イメージ属性
  • スケール
  • 画像サイズ (ピクセル単位)
  • Applications/Application/VisualElements/SplashScreen/@Image
  • 100
  • 620 x 300
  • 140
  • 868x420
  • 180
  • 1116x540

サポートされている背景色の名前を次に示します。

aliceBlue
antiqueWhite
aqua
aquamarine
azure
beige
bisque
black
blanchedAlmond
blue
blueViolet
brown
burlyWood
cadetBlue
chartreuse
chocolate
coral
cornflowerBlue
cornsilk
crimson
cyan
darkBlue
darkCyan
darkGoldenrod

darkGray
darkGreen
darkKhaki
darkMagenta
darkOliveGreen
darkOrange
darkOrchid
darkRed
darkSalmon
darkSeaGreen
darkSlateBlue
darkSlateGray
darkTurquoise
darkViolet
deepPink
deepSkyBlue
dimGray
dodgerBlue
firebrick
floralWhite
forestGreen
fuchsia
gainsboro
ghostWhite

gold
goldenrod
gray
green
greenYellow
honeydew
hotPink
indianRed
indigo
ivory
khaki
lavender
lavenderBlush
lawnGreen
lemonChiffon
ライトブルー
lightCoral
lightCyan
lightGoldenrodYellow
lightGray
lightGreen
lightPink
lightSalmon
lightSeaGreen

lightSkyBlue
lightSlateGray
lightSteelBlue
lightYellow
lime
limeGreen
linen
magenta
maroon
mediumAquamarine
mediumBlue
mediumOrchid
mediumPurple
mediumSeaGreen
mediumSlateBlue
mediumSpringGreen
mediumTurquoise
mediumVioletRed
midnightBlue
mintCream
mistyRose
moccasin
ナバホホワイト

navy
oldLace
olive
oliveDrab
orange
orangeRed
orchid
paleGoldenrod
paleGreen
paleTurquoise
paleVioletRed
papayaWhip
peachPuff
peru
pink
plum
powderBlue
purple

rosyBrown
royalBlue
saddleBrown
salmon

sandyBrown
seaGreen
貝殻
sienna
silver
スカイブルー
slateBlue
slateGray
snow
springGreen
steelBlue
tan
teal
thistle
tomato
transparent
turquoise
violet
wheat

Whitesmoke
yellow
yellowGreen

こちらもご覧ください

Colors クラス

必要条件

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
uap5 http://schemas.microsoft.com/appx/manifest/uap/windows10/5
Minimum OS Version Windows 10 バージョン 1511 (ビルド 10586)