SecondaryTile.WideLogo 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
注意
WideLogo 可能會在Windows 8.1之後變更或無法使用版本。 請改用 SecondaryTileVisualElements.Wide310x150Logo。
取得或設定寬次要磚中使用的標誌影像。 當您建立寬次要磚時,需要此屬性,並在使用者調整磚大小時提供寬磚的選項。
public:
property Uri ^ WideLogo { Uri ^ get(); void set(Uri ^ value); };
/// [get: Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
Uri WideLogo();
void WideLogo(Uri value);
/// [get: Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
Uri WideLogo();
void WideLogo(Uri value);
public System.Uri WideLogo { [Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public System.Uri WideLogo { [Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("WideLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Wide310x150Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var uri = secondaryTile.wideLogo;
secondaryTile.wideLogo = uri;
Public Property WideLogo As Uri
屬性值
影像的位置。 這可以使用下列其中一種配置來表示:已部署應用程式套件內的 ms-appx:/// A 路徑。 此路徑已針對應用程式支援的語言和 DPI 穩定狀態進行解析。 在每個使用者應用程式儲存體中找到 ms-appdata:///local/ A 檔案。
- 屬性
備註
應用程式在本機儲存的標誌影像 (ms-appdata://localfolder/) ,應用程式不應刪除次要磚。 這可防止清除快取時遺失映射。