Table of Contents

Class Section

Namespace
TimeCockpit.Data.DataModel.View
Assembly
TimeCockpit.Data.dll

Represents a section in a Tab or a Form.

public class Section : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged
Inheritance
Object
Section
Implements
IDynamicMetaObjectProvider
INotifyPropertyChanged
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

Section()

Initializes a new instance of the Section class.

public Section()

Properties

Header

Gets or sets the header of the section.

public string Header { get; set; }

Property Value

String

SectionColumns

Gets a list of columns in the section.

public ObservableCollection<SectionColumn> SectionColumns { get; }

Property Value

ObservableCollection<SectionColumn>

VerticalTabOrder

Gets or sets a value indicating whether to use vertical tab order instead of the default horizontal tab order. If this value is not set, the tab order of the parenting tab is used.

public bool? VerticalTabOrder { get; set; }

Property Value

Nullable<Boolean>

Methods

SectionColumnChanged(Object, PropertyChangedEventArgs)

Event handler for the SectionColumnsChanged(Object, NotifyCollectionChangedEventArgs) event. If a tab is changed in the SectionColumns collection, we fire the PropertyChanged event for Fields

protected void SectionColumnChanged(object sender, PropertyChangedEventArgs e)

Parameters

sender Object

Object sending the event (currently not used)

e PropertyChangedEventArgs

Event arguments.

SectionColumnsChanged(Object, NotifyCollectionChangedEventArgs)

Raised, when an item is added to the SectionColumns collection.

protected void SectionColumnsChanged(object sender, NotifyCollectionChangedEventArgs e)

Parameters

sender Object

The sender that fired the event

e NotifyCollectionChangedEventArgs

Provides information about event arguments