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
Gets an error message indicating what is wrong with this object.
public override string Error { get; }
Property Value
- string
An error message indicating what is wrong with this object. The default is an empty string ("").
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