Share via


uap:ShowOn (Windows 10)

描述 Windows 是否會在 [開始] 畫面上顯示的磚影像頂端重迭應用程式的名稱。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <uap:VisualElements>

                   <uap:DefaultTitle>

                        <uap:ShowNameOnTiles>

                             <uap:ShowOn>

Syntax

<uap:ShowOn
    Tile = 'A string that can have one of the following values: "square150x150Logo", "wide310x150Logo", or "square310x310Logo".' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
圖格 圖格的大小。 具有下列其中一個值的字串: square150x150Logowide310x150Logosquare310x310Logo Yes

子元素

無。

父元素

父元素 描述
uap:ShowNameOnTiles 描述 Windows 是否會在 [開始] 畫面上顯示的磚影像頂端重迭應用程式的名稱。

範例

此範例示範如何使用 ShowNameOnTilesShowOn 元素:

<uap:ShowNameOnTiles>
    <uap:ShowOn
        Tile="square150x150Logo"/> <!-- Show app name on the 150x150 tile -->
    <uap:ShowOn
        Tile="wide310x150Logo"/> <!-- …and also on the 310x150 tile -->
</uap:ShowNameOnTiles>

規格需求

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