Share via


IFieldState<T> Interface

Definition

Interface that defines basic access to a field.

public interface IFieldState<T>
type IFieldState<'T> = interface
Public Interface IFieldState(Of T)

Type Parameters

T

The form state that is read or written to.

Derived

Properties

Dependencies

Returns the other fields this one depends on.

IsNullable

Test to see if field is nullable.

Optional

Test to see if field is optional which means that an unknown value is legal.

Pattern

Regular expression for validating a string.

Type

Gets the type of the field.

Methods

GetValue(T)

Get this field value from form state.

IsUnknown(T)

Test to see if the field value form state has a value.

Limits(Double, Double)

Limits of numeric values.

SetUnknown(T)

Set this field value in form state to unknown.

SetValue(T, Object)

Set this field value in form state.

Applies to