Interface IField
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
HasLabel
True if the field should be labelled inline
bool HasLabel { get; }
Property Value
HelpText
Optional tooltip, displayed if a label is also displayed
string? HelpText { get; }
Property Value
IsVisible
True if the field should be displayed
bool IsVisible { get; }
Property Value
Label
Caption to display alongside the field content
string Label { get; }
Property Value
Text
Text summary of the field's value (for on screen summaries)
string Text { get; }
Property Value
Methods
Invalidate()
Update the current value on the form, unless it has not been saved to the model, and perform validation
void Invalidate()