ContactCardOptions ContactCardOptions ContactCardOptions ContactCardOptions Class

Definition

Represents data about how to display a mini contact card.

public : sealed class ContactCardOptions : IContactCardOptions, IContactCardOptions2
public sealed class ContactCardOptions : IContactCardOptions, IContactCardOptions2
Public NotInheritable Class ContactCardOptions Implements IContactCardOptions, IContactCardOptions2
var contactCardOptions = new contactCardOptions();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Constructors

ContactCardOptions() ContactCardOptions() ContactCardOptions() ContactCardOptions()

Initializes a new instance of the ContactCardOptions class.

public : ContactCardOptions()
public ContactCardOptions()
Public Sub New()
var contactCardOptions = new contactCardOptions();
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Properties

HeaderKind HeaderKind HeaderKind HeaderKind

Gets or sets a value that specifies the type of header to display on the contact card.

public : ContactCardHeaderKind HeaderKind { get; set; }
public ContactCardHeaderKind HeaderKind { get; set; }
Public ReadWrite Property HeaderKind As ContactCardHeaderKind
var contactCardHeaderKind = contactCardOptions.headerKind;
contactCardOptions.headerKind = contactCardHeaderKind;
Value
ContactCardHeaderKind ContactCardHeaderKind ContactCardHeaderKind ContactCardHeaderKind

The type of header to display on the contact card.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

InitialTabKind InitialTabKind InitialTabKind InitialTabKind

Gets or sets a value that indicates which tab to display first on a mini contact card.

public : ContactCardTabKind InitialTabKind { get; set; }
public ContactCardTabKind InitialTabKind { get; set; }
Public ReadWrite Property InitialTabKind As ContactCardTabKind
var contactCardTabKind = contactCardOptions.initialTabKind;
contactCardOptions.initialTabKind = contactCardTabKind;
Value
ContactCardTabKind ContactCardTabKind ContactCardTabKind ContactCardTabKind

A value that indicates which tab to display first on a mini contact card.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

ServerSearchContactListIds ServerSearchContactListIds ServerSearchContactListIds ServerSearchContactListIds

Gets a list to which you can add ContactList.Id values to search for on the server.

public : IVector<Platform::String> ServerSearchContactListIds { get; }
public IList<string> ServerSearchContactListIds { get; }
Public ReadOnly Property ServerSearchContactListIds As IList<string>
var iList = contactCardOptions.serverSearchContactListIds;
Value
IVector<Platform::String> IList<string> IList<string> IList<string>

A list to which you can add ContactList.Id values to search for on the server.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
Capabilities
contactsSystem