Class ModelSection
Contains a data-templated model-view pair
public class ModelSection : SectionBase<ModelView>, ISection, IModel, INotifyPropertyChanged, IDataErrorInfo
- Inheritance
-
ModelSection
- Implements
- Inherited Members
- Extension Methods
Constructors
ModelSection(ISurface, string, string, bool, IModel)
public ModelSection(ISurface surface, string title, string preferenceNamespace, bool expandByDefault, IModel content)
Parameters
Properties
Error
A summary of the section's invalid fields, for callers composing a failure message. Not displayed.
public override string Error { get; }
Property Value
Fields
public override IEnumerable<IField> Fields { get; }
Property Value
HasChanges
public override bool HasChanges { get; }
Property Value
IsEditable
public override bool IsEditable { get; }
Property Value
IsValid
public override bool IsValid { get; }
Property Value
IsVisible
public override bool IsVisible { get; }
Property Value
Subscreen
public IModel Subscreen { get; }
Property Value
Methods
WithField(IField)
public override ISection WithField(IField f)
Parameters
fIField
Returns
WithoutField(IField)
public override ISection WithoutField(IField f)
Parameters
fIField