Table of Contents

Class LoginWindow

Namespace
Tudormobile.Strava.UI.Views
Assembly
Tudormobile.Strava.UI.dll

A window for user login.

This window contains a LoginView control hosted in a window that allows drag, resize, and close. Upon succesful login, the window will close and return the granted authorization. The DialogResult is set to indicate success or failure.

public class LoginWindow : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IComponentConnector
Inheritance
LoginWindow
Implements
Inherited Members

Constructors

LoginWindow()

Creates a new instance of the LoginWindow class.

public LoginWindow()

Fields

AuthorizationProperty

Granted Authorization.

public static readonly DependencyProperty AuthorizationProperty

Field Value

DependencyProperty

ScopeProperty

Authorization Scope to request for login.

public static readonly DependencyProperty ScopeProperty

Field Value

DependencyProperty

Properties

Authorization

Granted Authorization.

public StravaAuthorization Authorization { get; set; }

Property Value

StravaAuthorization

Scope

Authorization Scope to request for login.

public AuthorizationScope Scope { get; set; }

Property Value

AuthorizationScope

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()