Udostępnij za pośrednictwem


WalletItem.HeaderColor Property

Definition

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Gets or sets the header color of the wallet item.

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

void HeaderColor(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 HeaderColor();

void HeaderColor(Color value);
public Color HeaderColor { get; set; }
public Color HeaderColor { [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.headerColor;
walletItem.headerColor = color;
Public Property HeaderColor As Color

Property Value

The header color of the item.

Attributes

Applies to

See also