Table of Contents

Class ModelSection

Namespace
The.WPF.Sections
Assembly
Instagile.WPF.dll

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

surface ISurface
title string
preferenceNamespace string
expandByDefault bool
content IModel

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

string

Fields

public override IEnumerable<IField> Fields { get; }

Property Value

IEnumerable<IField>

HasChanges

public override bool HasChanges { get; }

Property Value

bool

IsEditable

public override bool IsEditable { get; }

Property Value

bool

IsValid

public override bool IsValid { get; }

Property Value

bool

IsVisible

public override bool IsVisible { get; }

Property Value

bool

Subscreen

public IModel Subscreen { get; }

Property Value

IModel

Methods

WithField(IField)

public override ISection WithField(IField f)

Parameters

f IField

Returns

ISection

WithoutField(IField)

public override ISection WithoutField(IField f)

Parameters

f IField

Returns

ISection