Table of Contents

Class RefreshIndicator

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class RefreshIndicator : SkiaLayout, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISkiaGestureListener, IHasAfterEffects, ISkiaDisposable, ISkiaGridLayout, ISkiaLayout, ISkiaControl, ILayoutInsideViewport, IInsideViewport, IVisibilityAware, IRefreshIndicator, IDrawnBase, IDisposable, ICanBeUpdatedWithContext, ICanBeUpdated
Inheritance
RefreshIndicator
Implements
Derived
Inherited Members
Extension Methods

Constructors

RefreshIndicator()

public RefreshIndicator()

Fields

OrientationProperty

public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

Properties

IsRunning

ReadOnly

public bool IsRunning { get; set; }

Property Value

bool

Orientation

Gets or sets the scrolling direction of the ScrollView. This is a bindable property.
public ScrollOrientation Orientation { get; set; }

Property Value

ScrollOrientation

VisibleRatio

public float VisibleRatio { get; set; }

Property Value

float

Methods

OnIsRunningChanged(bool)

protected virtual void OnIsRunningChanged(bool value)

Parameters

value bool

SetAnimationState(bool)

public virtual void SetAnimationState(bool running)

Parameters

running bool

SetDragRatio(float, float, double, double)

0 - 1... not clamped can be over 1

public virtual void SetDragRatio(float ratio, float ptsScrollOffset, double ptsLimit, double ptsTrigger)

Parameters

ratio float
ptsScrollOffset float
ptsLimit double
ptsTrigger double

UpdateOrientation()

protected virtual void UpdateOrientation()