Share via


SocialItemBadgeStyle Enum

Definition

Defines app badge types.

public enum class SocialItemBadgeStyle
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
enum class SocialItemBadgeStyle
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SocialItemBadgeStyle is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
enum class SocialItemBadgeStyle
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
public enum SocialItemBadgeStyle
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SocialItemBadgeStyle is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
public enum SocialItemBadgeStyle
var value = Windows.ApplicationModel.SocialInfo.SocialItemBadgeStyle.hidden
Public Enum SocialItemBadgeStyle
Inheritance
SocialItemBadgeStyle
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduced in v1.0)

Fields

Name Value Description
Hidden 0

Hidden badge

Visible 1

Visible badge

VisibleWithCount 2

Visible badge with an unseen items count displayed

Applies to