Facebook Client

ProfilePicture Class

namespace Client.Controls
public classProfilePicture
Overview

Shows the profile picture for an object such as a user, place, or event.

Supported in:
  • Windows Store
  • Windows Phone 8
Summary
Constructors
public .ctor()
Initializes a new instance of the ProfilePicture class.
Properties
string public AccessToken
Gets or sets the access token returned by the Facebook Login service.
CropMode public CropMode
Gets or sets the cropping treatment of the profile picture.
string public ProfileId
The Facebook ID of the user, place or object for which a picture should be fetched and displayed.
Methods
Size protected ArrangeOverride(Size finalSize)
Provides the behavior for the "Arrange" pass of layout. Classes can override this method to define their own "Arrange" pass behavior.
void protected OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
Constructors
public .ctor()
Initializes a new instance of the ProfilePicture class.
Properties
public AccessToken
Gets or sets the access token returned by the Facebook Login service.
public CropMode
Gets or sets the cropping treatment of the profile picture.
public ProfileId
The Facebook ID of the user, place or object for which a picture should be fetched and displayed.
Methods
protected Size ArrangeOverride(Size finalSize)
Provides the behavior for the "Arrange" pass of layout. Classes can override this method to define their own "Arrange" pass behavior.
Parameters
finalSize The final area within the parent that this object should use to arrange itself and its children.
Returns
The actual size that is used after the element is arranged in layout.
protected void OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.