Represents a button control that can log in or log out the user when clicked.
Constructors |
---|
public .ctor()
Initializes a new instance of the LoginButton class.
|
Properties | |
---|---|
string |
public ApplicationId
Gets or sets the application ID to be used to open the session.
|
CornerRadius |
public CornerRadius
Gets or sets a value that represents the degree to which the corners of a Border are rounded.
|
FacebookSession |
public CurrentSession
Gets the current active session.
|
GraphUser |
public CurrentUser
Gets the current logged in user.
|
Audience |
public DefaultAudience
Gets or sets the default audience to use, if publish permissions are requested at login time.
|
bool |
public FetchUserInfo
Controls whether the user information is fetched when the session is opened. Default is true.
|
string |
public Permissions
Gets or sets the permissions to request.
|
Events |
---|
public AuthenticationError |
public SessionStateChanged |
public UserInfoChanged |
Methods | |
---|---|
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.
|
Task |
public RequestNewPermissions(string permissions)
Requests new permissions for the current Facebook session.
|