[]
        
(Showing Draft Content)

C1.iOS.Input.C1TextBox

C1TextBox Class

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

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

Constructors

Name Description
C1TextBox()

Initializes a new instance of the C1TextBox class.

C1TextBox(CGRect)

Initializes a new instance of the C1TextBox class.

C1TextBox(nint)

Initializes a new instance of the C1TextBox class.

Fields

Name Description
BackgroundProperty

Identifies the Background dependency property.

BorderBrushProperty

Identifies the BorderBrush dependency property.

BorderThicknessProperty

Identifies the BorderThickness dependency property.

CommandDown
CommandEnter
CommandLeft
CommandRight
CommandTab
CommandUp
CornerRadiusProperty

Identifies the CornerRadius dependency property.

ForegroundProperty

Identifies the Foreground dependency property.

PaddingProperty

Identifies the Padding dependency property.

selector

Properties

Name Description
Background

Gets or sets the CoreAnimation.CALayer used to paint the background.

BorderBrush

Gets or sets the CoreAnimation.CALayer used to paint the border.

BorderThickness

Gets or sets the UIKit.UIEdgeInsets of the border.

CornerRadius

Gets or sets the C1CornerRadius of the border.

Foreground

Gets or sets the CoreAnimation.CALayer 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.

KeyCommands
Padding

Gets or sets the padding applied to the displayed 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)
EditingRect(CGRect)
MovedToWindow()
OnBackgroundChanged()

Called when the background changed.

OnBorderBrushChanged()

Called when the border brush changed.

OnBorderThicknessChanged()

Called when the border thickness changed.

OnCornerRadiusChanged()

Called when the corner-radius changed.

OnForegroundChanged()

Called when the foreground changed.

OnPaddingChanged()

Called when the padding changed.

OnTextChanged(TextBoxChangedEventArgs)

Called when the text changed.

TextRect(CGRect)

Events

Name Description
KeyDown

This event is raised when up, down, or enter keys are hit, or either when the cursor is at the beginning and left is hit or when the cursor is at the end and right is hit.

TextChanged

Called when the text changed.