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. |
PersonAvatarTypeProperty |
Identifies the PersonAvatarType 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. |
PersonViewTypeProperty |
Identifies the PersonViewType 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 based on the PersonViewType. |
PersonAvatarType |
Gets or sets the type of visual to display in the image part of the template. |
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. |
PersonViewType |
Gets or sets the type of details to display in the PersonView part of the template. |
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 |