PersonView Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The PersonView control displays a user photo and can display their name and e-mail.
public class PersonView : Windows.UI.Xaml.Controls.Control
type PersonView = class
inherit Control
Public Class PersonView
Inherits Control
- Inheritance
-
Windows.UI.Xaml.Controls.ControlPersonView
Constructors
| PersonView() |
Initializes a new instance of the PersonView class. |
Fields
| InitialsProperty |
Identifies the Initials dependency property. |
| IsLargeImageProperty |
Identifies the IsLargeImage dependency property. |
| PersonDetailsProperty |
Identifies the PersonDetails dependency property. |
| PersonQueryMe |
PersonQuery value used to retrieve the signed-in user's info. |
| PersonQueryProperty |
Identifies the PersonQuery dependency property. |
| ShowEmailProperty |
Identifies the ShowEmail dependency property. |
| ShowNameProperty |
Identifies the ShowName dependency property. |
| UserIdProperty |
Identifies the UserId dependency property. |
| UserPhotoProperty |
Identifies the UserPhoto dependency property. |
Properties
| Initials |
Gets the initials of the person from the PersonDetails. |
| IsLargeImage |
Gets a value indicating whether the image has expanded because both ShowName and ShowEmail are enabled. |
| PersonDetails |
Gets or sets details about this person retrieved from the graph or provided by the developer. |
| PersonQuery |
Gets or sets a string to automatically retrieve data on the specified query from the graph. Use PersonQueryMe to retrieve info about the current user. Otherwise, it's best to use an e-mail address as a query. |
| ShowEmail |
Gets or sets a value indicating whether the user's email address should be displayed. |
| ShowName |
Gets or sets a value indicating whether the user's name should be displayed. |
| UserId |
Gets or sets the UserId. |
| UserPhoto |
Gets or sets the photo of the user to be displayed. |
Methods
| OnApplyTemplate() | Windows.UI.Xaml.Controls.Control.OnApplyTemplate |