Class 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 Section : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged
  Constructors
Section()
Initializes a new instance of the Section class.
Declaration
public Section()
  Properties
Header
Gets or sets the header of the section.
Declaration
public string Header { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SectionColumns
Gets a list of columns in the section.
Declaration
public ObservableCollection<SectionColumn> SectionColumns { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.ObjectModel.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.
Declaration
public bool? VerticalTabOrder { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.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
Declaration
protected void SectionColumnChanged(object sender, PropertyChangedEventArgs e)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | sender | Object sending the event (currently not used)  | 
      
| System.ComponentModel.PropertyChangedEventArgs | e | Event arguments.  | 
      
SectionColumnsChanged(Object, NotifyCollectionChangedEventArgs)
Raised, when an item is added to the SectionColumns collection.
Declaration
protected void SectionColumnsChanged(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  |