Class SectionColumn
Represents a column in a Section.
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.DataModel.View
Assembly: TimeCockpit.Data.dll
Syntax
public class SectionColumn : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged
Constructors
SectionColumn()
Initializes a new instance of the SectionColumn class.
Declaration
public SectionColumn()
Properties
Fields
Gets a list of tabs in the form.
Declaration
public ObservableCollection<Cell> Fields { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Cell> |
Header
Gets or sets the header of the section.
Declaration
public string Header { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FieldChanged(Object, PropertyChangedEventArgs)
Event handler for the FieldChanged(Object, PropertyChangedEventArgs) event. If a tab is changed in the Fields collection, we fire the PropertyChanged event for Fields
Declaration
protected void FieldChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Object sending the event (currently not used) |
System.ComponentModel.PropertyChangedEventArgs | e | Event arguments. |
FieldsChanged(Object, NotifyCollectionChangedEventArgs)
Raised, when an item is added to the Fields collection.
Declaration
protected void FieldsChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender that fired the event |
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | Provides information about event arguments |