menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfBusyIndicator - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfBusyIndicator

    Busy Indicator class

    Inheritance
    System.Object
    SfBusyIndicator
    Namespace: Com.Syncfusion.Sfbusyindicator
    Assembly: Syncfusion.SfBusyIndicator.Android.dll
    Syntax
    public class SfBusyIndicator : FrameLayout

    Constructors

    SfBusyIndicator(Context)

    Initializes a new instance of the SfBusyIndicator class.

    Declaration
    public SfBusyIndicator(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    Context type.

    SfBusyIndicator(Context, IAttributeSet)

    Initializes a new instance of the SfBusyIndicator class.

    Declaration
    public SfBusyIndicator(Context context, IAttributeSet attribute)
    Parameters
    Type Name Description
    Android.Content.Context context

    Context type.

    Android.Util.IAttributeSet attribute

    Attribute set.

    SfBusyIndicator(Context, IAttributeSet, Int32)

    Initializes a new instance of the SfBusyIndicator class.

    Declaration
    public SfBusyIndicator(Context context, IAttributeSet attribute, int style)
    Parameters
    Type Name Description
    Android.Content.Context context

    The Context.

    Android.Util.IAttributeSet attribute

    Attribute set.

    System.Int32 style

    Default style.

    SfBusyIndicator(Context, IAttributeSet, Int32, Int32)

    Initializes a new instance of the SfBusyIndicator class.

    Declaration
    public SfBusyIndicator(Context context, IAttributeSet attribute, int style, int resource)
    Parameters
    Type Name Description
    Android.Content.Context context

    The Context.

    Android.Util.IAttributeSet attribute

    Attribute set.

    System.Int32 style

    Default style.

    System.Int32 resource

    Default style resource.

    Properties

    AnimationType

    Gets or sets the value that determines the indicator animation.

    Declaration
    public AnimationTypes AnimationType { get; set; }
    Property Value
    Type
    AnimationTypes

    Duration

    Gets or sets the value that determines speed of the animation to finish a cycle.

    Declaration
    public int Duration { get; set; }
    Property Value
    Type
    System.Int32

    EnableAnimation

    Gets or sets a value indicating whether the graphical path to be animated or freeze.

    Declaration
    public bool EnableAnimation { get; set; }
    Property Value
    Type
    System.Boolean

    FontFace

    Gets or sets the Font for BusyIndicator text

    Declaration
    public Typeface FontFace { get; set; }
    Property Value
    Type
    Android.Graphics.Typeface

    IsBusy

    Gets or sets a value indicating whether the animation to be shown or not.

    Declaration
    public bool IsBusy { get; set; }
    Property Value
    Type
    System.Boolean

    SecondaryColor

    Gets or sets the Secondary Color for Animation

    Declaration
    public Color SecondaryColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    TextColor

    Gets or sets the color that applies to the default text and animation graphics.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    TextSize

    Gets or sets the value that applies to the default text's font size.

    Declaration
    public int TextSize { get; set; }
    Property Value
    Type
    System.Int32

    Title

    Gets or sets the text of the title of the indicator

    Declaration
    public string Title { get; set; }
    Property Value
    Type
    System.String

    TitlePlacement

    Gets or sets a value of Title placement method.

    Declaration
    public TitlePlacement TitlePlacement { get; set; }
    Property Value
    Type
    TitlePlacement

    ViewBoxHeight

    Gets or sets the value that determines the display height of the graphics drawn.

    Declaration
    public int ViewBoxHeight { get; set; }
    Property Value
    Type
    System.Int32

    ViewBoxWidth

    Gets or sets the value that determines the display width of the graphics drawn.

    Declaration
    public int ViewBoxWidth { get; set; }
    Property Value
    Type
    System.Int32

    Methods

    Clear()

    Clears the Animation

    Declaration
    public void Clear()

    Dispose(Boolean)

    Dispose the specified disposing.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    If set to true disposing.

    OnLayout(Boolean, Int32, Int32, Int32, Int32)

    On layout method

    Declaration
    protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.Boolean changed

    Boolean type

    System.Int32 left

    left value

    System.Int32 top

    top value

    System.Int32 right

    Right value

    System.Int32 bottom

    Bottom value

    OnSizeChanged(Int32, Int32, Int32, Int32)

    on Size changed method.

    Declaration
    protected override void OnSizeChanged(int w, int h, int oldw, int oldh)
    Parameters
    Type Name Description
    System.Int32 w

    Width value

    System.Int32 h

    Height value

    System.Int32 oldw

    Old width

    System.Int32 oldh

    Old height

    OnWindowVisibilityChanged(ViewStates)

    Creates and Dispose the scree register.

    Declaration
    protected override void OnWindowVisibilityChanged(ViewStates visibility)
    Parameters
    Type Name Description
    Android.Views.ViewStates visibility

    current visibility states.

    RefreshBusy()

    Refreshes the BusyIndicator

    Declaration
    public void RefreshBusy()

    RefreshValues()

    Refresh the values

    Declaration
    public void RefreshValues()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved