Table of Contents

Class ActivityView

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

UI element to display an activity.

public class ActivityView : Control, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
Inheritance
ActivityView
Implements
Inherited Members

Remarks

The ActivityView is a custom control that is used to display a Strava summary actuvity. The default style includes a template that provides a simply detailed view of the activity. Additional styles are found in the Styles dictionary.

Fields

ActivityProperty

The dependency property for the activity.

public static readonly DependencyProperty ActivityProperty

Field Value

DependencyProperty

SecondaryProperty

The dependency property for the secondary color.

public static readonly DependencyProperty SecondaryProperty

Field Value

DependencyProperty

UnitsProperty

The dependency property for the units.

public static readonly DependencyProperty UnitsProperty

Field Value

DependencyProperty

Properties

Activity

A summary activity representing the data to display.

public SummaryActivity? Activity { get; set; }

Property Value

SummaryActivity

Secondary

The secondary color of the activity view.

public Brush? Secondary { get; set; }

Property Value

Brush

Units

Preferred units (meters or feet) for the activity view.

public string? Units { get; set; }

Property Value

string