ActivityIndicator

Inheritance: Element -> NavigableElement -> VisualElement -> View Xamarin.Forms documentation: ActivityIndicator API / Guide

For details on how the control actually works, please refer to the Xamarin.Forms documentation.

Constructors

Constructors
Description

ActivityIndicator(isRunning: bool)

Define an ActivityIndicator widget with its current state

Properties

Properties
Description

color(light: FabColor, ?dark: FabColor)

Sets the activity indicator color depending if light or dark mode

reference(value: ViewRef<ActivityIndicator>)

Sets a ViewRef instance to retrieve the Xamarin.Forms.ActivityIndicator instance associated to this widget

Usages

ActivityIndicator(true)
    .color(light = Color.Red.ToFabColor(), dark = Color.Blue.ToFabColor())

Get access to the underlying Xamarin.Forms.ActivityIndicator

let activityIndicatorRef = ViewRef<ActivityIndicator>()

ActivityIndicator(true)
    .reference(activityIndicatorRef)

Last updated