ContactPicker.SelectionMode ContactPicker.SelectionMode ContactPicker.SelectionMode ContactPicker.SelectionMode ContactPicker.SelectionMode Property

Definition

Controls whether the Contact Picker shows contacts as a complete entity or as a collection of fields.

Note

This property is no longer available starting with Windows 10.

public : ContactSelectionMode SelectionMode { get; set; }
ContactSelectionMode SelectionMode();

void SelectionMode(ContactSelectionMode selectionmode);
public ContactSelectionMode SelectionMode { get; set; }
Public ReadWrite Property SelectionMode As ContactSelectionMode
var contactSelectionMode = contactPicker.selectionMode;
contactPicker.selectionMode = contactSelectionMode;

Property Value

The mode for the Contact Picker user interface. You can set this to Contacts or Fields.

Additional features and requirements

Capabilities
contactsSystem

Remarks

A contact can contain a lot of information. If you want all of this information, set the SelectionMode property to return the entire contact. If you are only interested in specific fields, set this property to return only a selection of fields, then use the DesiredFields property to specify which fields you want.

Use the ContactSelectionMode enumeration to set the value of this property.