EntryField<T>

References
public class EntryField<T> : IEntryField
A collection of values for representing an editable or immutable text field in an EntryGrid.
T

Constructors

EntryField

#
public EntryField(bool mutable, string placeholder, TextAlignment alignment, string text = null, Result<T> initialState = null)
mutable (bool)
placeholder (string)
alignment (TextAlignment)
text (string = null)
initialState (Result<T> = null)

Properties

Alignment

#
public TextAlignment Alignment { get; }
Alignment

CurrentState

#
public Result<T> CurrentState { get; }
Explicit

IEntryField.CurrentState

#
IResult IEntryField.CurrentState
CurrentState
Explicit

IEntryField.LastValidState

#
IResult IEntryField.LastValidState
LastValidState

LastValidState

#
public Result<T> LastValidState { get; }

Mutable

#
public bool Mutable { get; }
Mutable

Placeholder

#
public string Placeholder { get; }
Placeholder

Text

#
public string Text { get; }
Text

Methods

UpdateState

#
public void UpdateState(string newText, Result<T> newState)
newText (string)
newState (Result<T>)