[]
        
(Showing Draft Content)

C1.Android.Input.C1TextBox

C1TextBox Class

Represents a control that can be used to display and edit plain text,

Inheritance
C1TextBox
Implements
Namespace: C1.Android.Input
Assembly: C1.Android.Input.dll
Syntax
public class C1TextBox : EditText, IDependencyObject
Public Class C1TextBox
    Inherits EditText
    Implements IDependencyObject

Constructors

Name Description
C1TextBox(Context)

Initializes a new instance of the C1TextBox class.

C1TextBox(Context, IAttributeSet)

Initializes a new instance of the C1TextBox class.

C1TextBox(Context, IAttributeSet, int)

Initializes a new instance of the C1TextBox class.

C1TextBox(nint, JniHandleOwnership)

Fields

Name Description
BorderBrushProperty

Identifies the BorderBrush dependency property.

BorderThicknessProperty

Identifies the BorderThickness dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

ForegroundProperty

Identifies the Foreground dependency property.

PaddingProperty

Identifies the Padding dependency property.

PlaceholderProperty

Identifies the Placeholder dependency property.

Properties

Name Description
BorderBrush

Gets or sets the Android.Graphics.Drawables.Drawable used to paint the border.

BorderThickness

Gets or sets the C1Thickness of the border.

CornerRadius

Gets or sets the C1CornerRadius of the border.

Foreground

Gets or sets the Android.Graphics.Drawables.Drawable used to paint the foreground (text and icons).

IsDisposed

Gets whether this instance is disposed.

IsPlaceholderVisible

Gets a value indicating whether the placeholder is visible.

Padding

Gets or sets the padding applied to the displayed text.

Placeholder

Gets or sets the placeholder displayed when there is no entered text.

Tag

Gets or sets an arbitrary object value that can be used to store custom information about this element.

Methods

Name Description
Dispose(bool)
Draw(Canvas)
OnAttachedToWindow()
OnBorderBrushChanged()

Called when the border brush changed.

OnBorderThicknessChanged()

Called when the border thickness changed.

OnCornerRadiusChanged()

Called when the corner-radius changed.

OnDetachedFromWindow()
OnForegroundChanged()

Called when the foreground changed.

OnPaddingChanged()

Called when the padding changed.