uap:SplashScreen (Windows 10)

定義啟動期間應用程式所顯示之啟動顯示畫面的外觀。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <uap:VisualElements>

                   <uap:SplashScreen>

Syntax

<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.' />

答案

? 選擇性 (零或一個)

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
BackgroundColor 指定啟動顯示畫面的背景色彩。 如需色彩名稱的清單,請參閱一節。 選擇性的三位元組十六進位數位,前面加上 「#」 或具名色彩。 See the Remarks for a list of named colors. No
映像 啟動顯示畫面影像的路徑。 如需大小需求 ,請參閱 一節。 長度介於 1 到 256 個字元之間的字串,其結尾為 .jpg 、 或 ,且 .jpeg 不能包含下列字元: < 、、 ">:|? 或 。 *.png 在此字串中 / ,和 \ 字元不能是第一個或最後一個字元。 此外,字串也可以包含 或 , \ 但不能同時包含 / 兩者。 Yes
uap5:Optional 指定是否應該在沒有啟動顯示畫面的情況下啟動應用程式。 如果為 true,如果應用程式可以快速啟動,將不會顯示啟動顯示畫面。 如果應用程式啟動時間有延遲,則會顯示啟動顯示畫面。 如果為 false,則一律會顯示啟動顯示畫面。 選擇性布林值。 No

子元素

無。

父元素

父元素 描述
uap:VisualElements 描述應用程式的視覺層面:其預設磚、標誌影像、文字和背景色彩、初始螢幕方向、啟動顯示畫面,以及鎖定螢幕磚外觀。

備註

啟動顯示畫面影像可以指定為影像檔或資源的直接路徑。 藉由使用資源參考,您可以提供不同縮放比例的影像,讓 Windows 可以為裝置和螢幕解析度選擇最佳大小。 您也可以提供協助工具的高對比影像和當地語系化的影像,以符合不同的 UI 語言。 如需詳細資訊,請參閱 全球化 主題。

啟動顯示畫面影像的大小需求如下所示:

  • 映像屬性
  • 規模調整
  • 以圖元為單位的影像大小
  • Applications/Application/VisualElements/SplashScreen/@Image
  • 100
  • 620x300
  • 140
  • 868x420
  • 180
  • 1116x540

以下是支援的背景色彩名稱:

aliceBlue
瓦特文
青色
青綠色
azure
米黃色
淡黃色
黑色
一般
藍色
blueViolet
棕色
burlyWood
cadetBlue
淡黃綠
巧克力色
珊瑚紅
cmflowerBlue
玉米穗黃
大紅色
青色
深藍
深青色
darkGoldenrod

darkGray
深綠
dark一卡多
darkMagenta
darkOliveGreen
darkOrange
darkOrchid
darkRed
darkSalmon
darkSeaGreen
darkSlateBlue
darkSlateGray
darkTurquoise
darkViolet
deepPink
deepSkyBlue
dimGray
dodgerBlue
磚紅
擷體White
forestGreen
桃紅
亮灰
ghostWhite

金色
金黃
灰色
綠色
greenYellow
蜜瓜白
hotPink
印度紅
靛藍
象牙白
卡其色
淡紫
擷取者
lawnGreen
擷取者
lightBlue
lightCoral
淺青色
lightGoldenrodYellow
lightGray
lightGreen
lightPink
lightSalmon
lightSeaGreen

lightSkyBlue
lightSlateGray
lightSteelBlue
lightYellow
淺綠色
limGreen
亞麻黃
洋紅
暗紅色
mediumAquamarine
mediumBlue
mediumOrchid
mediumPurple
mediumSeaGreen
mediumSlateBlue
mediumSpringGreen
mediumTurquoise
mediumVioletRed
midnightBlue
mintCream
mistyRose
鹿皮黃
navajoWhite

海軍藍
oldLace
橄欖色
oliveDrab
橙色
orangeRed
蘭花紫
帕德德羅d
淺綠
擷耙文
擷取者VioletRed
papyaWhip
peachPuff
秘魯色
粉紅色
梅紅色
擷藍
紫色
紅色
rosyBrown
royalBlue
saddleBrown
淡橙紅

擷布
seaGreen
貝殼
深黃褐
銀色
skyBlue
slateBlue
slateGray
snow
springGreen
steelBlue
tan
藍綠色
薊紫
蕃茄紅
透明
淺粉藍
紫色
小麥色
白色
whiteSmoke
黃色
yellowGreen

另請參閱

Colors 類別

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
uap5 http://schemas.microsoft.com/appx/manifest/uap/windows10/5
OS 最低版本 Windows 10版本 1511 (組建 10586)