WalletItem.BodyColor 属性

定义

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

获取或设置钱包项的正文颜色。

public:
 property Color BodyColor { Color get(); void set(Color value); };
Color BodyColor();

void BodyColor(Color value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
Color BodyColor();

void BodyColor(Color value);
public Color BodyColor { get; set; }
public Color BodyColor { [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] set; }
var color = walletItem.bodyColor;
walletItem.bodyColor = color;
Public Property BodyColor As Color

属性值

项的正文颜色。

属性

适用于

另请参阅