Class SectionBase<TView>
public abstract class SectionBase<TView> : NotificationObject, ISection, IModel, INotifyPropertyChanged, IDataErrorInfo
Type Parameters
TView
- Inheritance
-
SectionBase<TView>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
SectionBase(ISurface, string, string, bool)
protected SectionBase(ISurface surface, string title, string @namespace, bool expandByDefault)
Parameters
Fields
Logger
protected readonly ILogger Logger
Field Value
Principal
protected readonly IPrincipal Principal
Field Value
Services
protected readonly IServices Services
Field Value
Properties
Content
public ISection Content { get; }
Property Value
DoCollapseAll
public ICommand DoCollapseAll { get; }
Property Value
DoExpandAll
public ICommand DoExpandAll { get; }
Property Value
Error
Gets an error message indicating what is wrong with this object.
public abstract string Error { get; }
Property Value
- string
An error message indicating what is wrong with this object. The default is an empty string ("").
Fields
public abstract IEnumerable<IField> Fields { get; }
Property Value
HasChanges
public abstract bool HasChanges { get; }
Property Value
HeaderBackgroundBrush
public virtual Brush HeaderBackgroundBrush { get; }
Property Value
HeaderForegroundBrush
public virtual Brush HeaderForegroundBrush { get; }
Property Value
Height
public GridLength Height { get; set; }
Property Value
IsEditable
public abstract bool IsEditable { get; }
Property Value
IsExpanded
public bool IsExpanded { get; set; }
Property Value
IsHero
public virtual bool IsHero { get; }
Property Value
IsResizable
public virtual bool IsResizable { get; }
Property Value
IsValid
public abstract bool IsValid { get; }
Property Value
IsVisible
public virtual bool IsVisible { get; }
Property Value
this[string]
Gets the error message for the property with the given name.
public string this[string columnName] { get; }
Parameters
columnNamestringThe name of the property whose error message to get.
Property Value
- string
The error message for the property. The default is an empty string ("").
SectionBackgroundBrush
public virtual Brush SectionBackgroundBrush { get; }
Property Value
Subtitle
public virtual string Subtitle { get; }
Property Value
Surface
public ISurface Surface { get; }
Property Value
Title
public virtual string Title { get; }
Property Value
Methods
OnLoadedAsync()
public virtual Task OnLoadedAsync()
Returns
WithField(IField)
public abstract ISection WithField(IField f)
Parameters
fIField
Returns
WithoutField(IField)
public abstract ISection WithoutField(IField f)
Parameters
fIField
Returns
Events
CollapseAllRequested
public event Action CollapseAllRequested
Event Type
ExpandAllRequested
public event Action ExpandAllRequested