Search Results for

    Show / Hide Table of Contents

    Class Tab

    Represents a tab in a Form.

    Inheritance
    System.Object
    DynamicObject
    NamedDynamicObject
    Tab
    BackReferenceTab
    Implements
    System.Dynamic.IDynamicMetaObjectProvider
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    NamedDynamicObject.OnPropertyChanged(String)
    NamedDynamicObject.Name
    NamedDynamicObject.PropertyChanged
    DynamicObject.GetMember(String)
    DynamicObject.SetMember(String, Object)
    DynamicObject.GetMetaObject(Expression)
    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 Tab : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged

    Constructors

    Tab()

    Initializes a new instance of the Tab class.

    Declaration
    public Tab()

    Properties

    Header

    Gets or sets the header of the tab.

    Declaration
    public string Header { get; set; }
    Property Value
    Type Description
    System.String

    Sections

    Gets a list of sections in the tab.

    Declaration
    public ObservableCollection<Section> Sections { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<Section>

    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 form is used.

    Declaration
    public bool? VerticalTabOrder { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    Methods

    InitializeObject()

    Initializes the Form object setting fields of the object to their default values.

    Declaration
    protected void InitializeObject()

    SectionChanged(Object, PropertyChangedEventArgs)

    Event handler for the SectionChanged(Object, PropertyChangedEventArgs) event. If a tab is changed in the Sections collection, we fire the PropertyChanged event for Sections

    Declaration
    protected void SectionChanged(object sender, PropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    Object sending the event (currently not used)

    System.ComponentModel.PropertyChangedEventArgs e

    Event arguments.

    SectionsChanged(Object, NotifyCollectionChangedEventArgs)

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

    Declaration
    protected virtual void SectionsChanged(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

    In This Article
    Back to top Copyright © 2020 software architects gmbh