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

ConstructorsDescription

ActivityIndicator(isRunning: bool)

Define an ActivityIndicator widget with its current state

Properties

PropertiesDescription

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