SecondaryTileVisualElements 類別

定義

包含屬性,您可以在其中取得或設定次要磚的背景色彩、前景文字、磚影像和應用程式名稱顯示選項。 此類別中的屬性會取代下列 SecondaryTile 屬性:

public ref class SecondaryTileVisualElements sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class SecondaryTileVisualElements final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SecondaryTileVisualElements final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class SecondaryTileVisualElements
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SecondaryTileVisualElements
Public NotInheritable Class SecondaryTileVisualElements
繼承
Object Platform::Object IInspectable SecondaryTileVisualElements
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

呼叫 SecondaryTile.VisualElements 屬性可取得這個類別物件。

應用程式在本機儲存的標誌影像 (ms-appdata://localfolder/) ,應用程式不應刪除次要磚。 這可防止清除快取時遺失映射。

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1709 16299 MixedRealityModel

屬性

BackgroundColor

取得或設定次要磚的背景色彩。

ForegroundText

指定磚是否應該使用深色或淺色文字。

Windows Phone 8.1 會忽略此值。 手機上次要磚的前景文字色彩一律為淺色。

MixedRealityModel

取得 物件,此物件表示在Windows Mixed Reality主環境中做為應用程式啟動器使用的 3D 模型資產。

ShowNameOnSquare150x150Logo

指定是否應該在中型次要磚上顯示顯示名稱。

Windows Phone 8.1 的中次要磚上永遠不會顯示顯示名稱,因此會忽略此值。

ShowNameOnSquare310x310Logo

指定是否應該在大型次要磚上顯示顯示名稱。

Windows Phone 8.1 不支援大型磚大小,因此會忽略此值。

ShowNameOnWide310x150Logo

指定是否應該在寬次要磚上顯示顯示名稱。

Square150x150Logo

取得或設定中次要磚影像。

Square30x30Logo

取得或設定 square30x30 次要磚影像。

Windows Phone 8.1 不支援 Square30x30 磚大小。

Square310x310Logo

取得或設定大型次要磚影像。

Windows Phone 8.1 不支援大型磚大小。

Square44x44Logo

取得或設定 square44x44 次要磚影像。

Square70x70Logo

取得或設定小型次要磚影像。

Windows Phone 8.1 不支援 Square70x70 磚大小。 請改為呼叫 Square71x71Logo

Square71x71Logo

取得或設定小型次要磚影像。

Windows 不支援 Square71x71 磚大小。 請改為呼叫 Square70x70Logo

Wide310x150Logo

取得或設定寬次要磚影像。

適用於