Skip to content

CompositionRingSpinner

A compositor-driven indeterminate ring with an optional stationary track.

Type

csharp
public sealed class CompositionRingSpinner : Control

Namespace: RoyalApps.Community.Avalonia.Common.Controls

View source

Remarks

Set an explicit size in unbounded layouts. Inactive spinners draw only the track.

Properties

ForegroundColor (Color)

Gets or sets the arc color. Defaults to DodgerBlue.

IsActive (bool)

Gets or sets whether the foreground arc animates. Defaults to true.

StrokeThickness (double)

Gets or sets the finite stroke width in DIPs. Defaults to two; drawing clamps it to fit the ring.

TrackColor (Color)

Gets or sets the stationary track color. Defaults to transparent.

Fields

ForegroundColorProperty (StyledProperty<Color>)

Identifies CompositionRingSpinner.ForegroundColor.

IsActiveProperty (StyledProperty<bool>)

Identifies CompositionRingSpinner.IsActive.

StrokeThicknessProperty (StyledProperty<double>)

Identifies CompositionRingSpinner.StrokeThickness.

TrackColorProperty (StyledProperty<Color>)

Identifies CompositionRingSpinner.TrackColor.

Back to API index

MIT Licensed