ContactCardOptions ContactCardOptions ContactCardOptions ContactCardOptions Class

Definition

Represents data about how to display a mini contact card.

public : sealed class ContactCardOptions : IContactCardOptions, IContactCardOptions2public sealed class ContactCardOptions : IContactCardOptions, IContactCardOptions2Public NotInheritable Class ContactCardOptions Implements IContactCardOptions, IContactCardOptions2// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

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

Initializes a new instance of the ContactCardOptions class.

public : ContactCardOptions()public ContactCardOptions()Public Sub New()// You can use this method in JavaScript.

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// You can use this property in JavaScript.
Value
ContactCardHeaderKind ContactCardHeaderKind ContactCardHeaderKind ContactCardHeaderKind

The type of header to display on the contact card.

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// You can use this property in JavaScript.
Value
ContactCardTabKind ContactCardTabKind ContactCardTabKind ContactCardTabKind

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

ServerSearchContactListIds ServerSearchContactListIds ServerSearchContactListIds ServerSearchContactListIds

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

public : IVector<string> ServerSearchContactListIds { get; }public IList<string> ServerSearchContactListIds { get; }Public ReadOnly Property ServerSearchContactListIds As IList<string>// You can use this property in JavaScript.
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)