SecondaryTile.WideLogo 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Windows 8.1后,WideLogo 可能会更改或不可用。 请改用 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:/// 部署的应用包中的路径。 此路径针对应用支持的语言和 DPI 高原解析。ms-appdata:///local/ 在每用户应用存储中找到的文件。
- 属性
注解
应用不应删除应用在本地保存 (ms-appdata://localfolder/) 以用于辅助磁贴的徽标图像。 这可以防止在清除缓存时丢失映像。