Class BoxView
Box view class
Inheritance
System.Object
BoxView
Namespace: Com.Syncfusion.Sfbusyindicator
Assembly: Syncfusion.SfBusyIndicator.Android.dll
Syntax
public class BoxView : View
Constructors
BoxView(Context, IAttributeSet)
Initializes a new instance of the BoxView class.
Declaration
public BoxView(Context context, IAttributeSet attrs)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context type |
Android.Util.IAttributeSet | attrs | Attribute set |
BoxView(Context, IAttributeSet, Int32)
Initializes a new instance of the BoxView class.
Declaration
public BoxView(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context type |
Android.Util.IAttributeSet | attrs | Attribute set |
System.Int32 | defStyleAttr | Integer type |
BoxView(Context, BoxAnimation)
Initializes a new instance of the BoxView class.
Declaration
public BoxView(Context context, BoxAnimation boxAnimation)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context type |
BoxAnimation | boxAnimation | Box Animation type |
Properties
Color
Gets or sets the value of Color property.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
Index
Gets or sets the value of Index property.
Declaration
public int Index { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
OnDraw(Canvas)
On draw method.
Declaration
protected override void OnDraw(Canvas canvas)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | canvas | Canvas type. |
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 value |
System.Int32 | oldh | Old Height value |