Table of Contents

Class FieldsSection

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

Contains fields of arbitrary types

[DataContract]
public class FieldsSection : SectionBase<FieldsView>, ISection, IModel, INotifyPropertyChanged, IDataErrorInfo
Inheritance
FieldsSection
Implements
Derived
Inherited Members
Extension Methods

Constructors

FieldsSection(ISurface, string, IEnumerable<IField>)

public FieldsSection(ISurface surface, string title, IEnumerable<IField> fields)

Parameters

surface ISurface
title string
fields IEnumerable<IField>

FieldsSection(ISurface, string, string, bool, IEnumerable<IField>)

public FieldsSection(ISurface surface, string title, string preferenceNamespace, bool expandByDefault, IEnumerable<IField> fields)

Parameters

surface ISurface
title string
preferenceNamespace string
expandByDefault bool
fields IEnumerable<IField>

FieldsSection(ISurface, string, string, bool, params IField[])

public FieldsSection(ISurface surface, string title, string preferenceNamespace, bool expandByDefault, params IField[] fields)

Parameters

surface ISurface
title string
preferenceNamespace string
expandByDefault bool
fields IField[]

FieldsSection(ISurface, string, params IField[])

public FieldsSection(ISurface surface, string title, params IField[] fields)

Parameters

surface ISurface
title string
fields IField[]

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

[DataMember]
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

Subtitle

public override string Subtitle { get; }

Property Value

string

Methods

AddField(IField)

protected void AddField(IField f)

Parameters

f IField

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