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(
mutable,
placeholder,
TextAlignment
alignment,
text = null,
Result<T>
initialState = 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(
newText,
Result<T>
newState
)