Table of Contents

Interface IField

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll

A Field is a line-level content unit which can be labelled and validated.

public interface IField : IModel, INotifyPropertyChanged, IDataErrorInfo
Inherited Members
Extension Methods

Properties

Content

Templated field content

IField Content { get; }

Property Value

IField

HasLabel

True if the field should be labelled inline

bool HasLabel { get; }

Property Value

bool

HelpText

Optional tooltip, displayed if a label is also displayed

string? HelpText { get; }

Property Value

string

IsVisible

True if the field should be displayed

bool IsVisible { get; }

Property Value

bool

Label

Caption to display alongside the field content

string Label { get; }

Property Value

string

Text

Text summary of the field's value (for on screen summaries)

string Text { get; }

Property Value

string

Methods

Invalidate()

Update the current value on the form, unless it has not been saved to the model, and perform validation

void Invalidate()