Table of Contents

Class TextField

Namespace
UraniumUI.Material.Controls
Assembly
UraniumUI.Material.dll
[ContentProperty("Validations")]
public class TextField : InputField, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IValidatable, INotifyPropertyChanged
Inheritance
TextField
Implements
Inherited Members
Extension Methods

Constructors

TextField()

public TextField()

Fields

AllowClearProperty

public static BindableProperty AllowClearProperty

Field Value

BindableProperty

CharacterSpacingProperty

public static readonly BindableProperty CharacterSpacingProperty

Field Value

BindableProperty

ClearButtonVisibilityProperty

public static readonly BindableProperty ClearButtonVisibilityProperty

Field Value

BindableProperty

CursorPositionProperty

public static readonly BindableProperty CursorPositionProperty

Field Value

BindableProperty

DisallowClearButtonFocusProperty

public static BindableProperty DisallowClearButtonFocusProperty

Field Value

BindableProperty

FontAttributesProperty

public static readonly BindableProperty FontAttributesProperty

Field Value

BindableProperty

FontSizeProperty

public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

HorizontalTextAlignmentProperty

public static readonly BindableProperty HorizontalTextAlignmentProperty

Field Value

BindableProperty

IsPasswordProperty

public static readonly BindableProperty IsPasswordProperty

Field Value

BindableProperty

IsReadOnlyProperty

public static readonly BindableProperty IsReadOnlyProperty

Field Value

BindableProperty

IsTextPredictionEnabledProperty

public static readonly BindableProperty IsTextPredictionEnabledProperty

Field Value

BindableProperty

KeyboardProperty

public static readonly BindableProperty KeyboardProperty

Field Value

BindableProperty

MaxLengthProperty

public static readonly BindableProperty MaxLengthProperty

Field Value

BindableProperty

ReturnCommandParameterProperty

public static readonly BindableProperty ReturnCommandParameterProperty

Field Value

BindableProperty

ReturnCommandProperty

public static readonly BindableProperty ReturnCommandProperty

Field Value

BindableProperty

ReturnTypeProperty

public static readonly BindableProperty ReturnTypeProperty

Field Value

BindableProperty

SelectAllTextOnFocusProperty

public static BindableProperty SelectAllTextOnFocusProperty

Field Value

BindableProperty

SelectionHighlightColorProperty

public static readonly BindableProperty SelectionHighlightColorProperty

Field Value

BindableProperty

SelectionLengthProperty

public static readonly BindableProperty SelectionLengthProperty

Field Value

BindableProperty

TextColorProperty

public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TextProperty

public static readonly BindableProperty TextProperty

Field Value

BindableProperty

Properties

AllowClear

public bool AllowClear { get; set; }

Property Value

bool

CharacterSpacing

public double CharacterSpacing { get; set; }

Property Value

double

ClearButtonVisibility

public ClearButtonVisibility ClearButtonVisibility { get; set; }

Property Value

ClearButtonVisibility

ClearCommand

public ICommand ClearCommand { get; protected set; }

Property Value

ICommand

Content

public override View Content { get; set; }

Property Value

View

CursorPosition

public int CursorPosition { get; set; }

Property Value

int

DisallowClearButtonFocus

public bool DisallowClearButtonFocus { get; set; }

Property Value

bool

EntryBehaviors

public IList<Behavior> EntryBehaviors { get; }

Property Value

IList<Behavior>

EntryView

public EntryView EntryView { get; }

Property Value

EntryView

FontAttributes

public FontAttributes FontAttributes { get; set; }

Property Value

FontAttributes

FontSize

[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

Property Value

double

HasValue

public override bool HasValue { get; }

Property Value

bool

HorizontalTextAlignment

public TextAlignment HorizontalTextAlignment { get; set; }

Property Value

TextAlignment

IsPassword

public bool IsPassword { get; set; }

Property Value

bool

IsReadOnly

public bool IsReadOnly { get; set; }

Property Value

bool

IsTextPredictionEnabled

public bool IsTextPredictionEnabled { get; set; }

Property Value

bool

Keyboard

[TypeConverter(typeof(KeyboardTypeConverter))]
public Keyboard Keyboard { get; set; }

Property Value

Keyboard

MaxLength

public int MaxLength { get; set; }

Property Value

int

ReturnCommand

public ICommand ReturnCommand { get; set; }

Property Value

ICommand

ReturnCommandParameter

public object ReturnCommandParameter { get; set; }

Property Value

object

ReturnType

public ReturnType ReturnType { get; set; }

Property Value

ReturnType

SelectAllTextOnFocus

public bool SelectAllTextOnFocus { get; set; }

Property Value

bool

SelectionHighlightColor

public Color SelectionHighlightColor { get; set; }

Property Value

Color

SelectionLength

public int SelectionLength { get; set; }

Property Value

int

Text

public string Text { get; set; }

Property Value

string

TextColor

public Color TextColor { get; set; }

Property Value

Color

Methods

ApplyAttachedProperties()

protected virtual void ApplyAttachedProperties()

ClearValue()

public void ClearValue()

CreateIconClear()

protected virtual View CreateIconClear()

Returns

View

GetValueForValidator()

protected override object GetValueForValidator()

Returns

object

OnAllowClearChanged()

protected virtual void OnAllowClearChanged()

OnClearTapped()

protected virtual void OnClearTapped()

OnHandlerChanged()

When overridden in a derived class, should raise the HandlerChanged event.

protected override void OnHandlerChanged()

Remarks

It is the implementor's responsibility to raise the HandlerChanged event.

ResetValidation()

public override void ResetValidation()

SelectAllText()

Input has be be already focused when this method is called.

public void SelectAllText()

UpdateClearIconState()

protected virtual void UpdateClearIconState()

Events

Completed

public event EventHandler Completed

Event Type

EventHandler

TextChanged

public event EventHandler<TextChangedEventArgs> TextChanged

Event Type

EventHandler<TextChangedEventArgs>