menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class Battery

    Battery class

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

    Constructors

    Battery(Context, IAttributeSet)

    Initializes a new instance of the Battery class.

    Declaration
    public Battery(Context context, IAttributeSet attrs)
    Parameters
    Type Name Description
    Android.Content.Context context

    Context type

    Android.Util.IAttributeSet attrs

    Attribute set type

    Methods

    OnDraw(Canvas)

    On Draw Method.

    Declaration
    protected override void OnDraw(Canvas canvas)
    Parameters
    Type Name Description
    Android.Graphics.Canvas canvas

    Canvas type

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved