Search Results for

    Show / Hide Table of Contents

    Class View

    Displays data from the model.

    Inheritance
    System.Object
    View
    Form
    List
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    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 abstract class View : INotifyPropertyChanged

    Constructors

    View()

    Initializes a new instance of the View class.

    Declaration
    public View()

    Properties

    ModelEntityName

    Gets or sets the name of the base ModelEntity for the View.

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

    Methods

    GetModelEntity(IDataContext)

    Gets the base ModelEntity for the View.

    Declaration
    public ModelEntityBase GetModelEntity(IDataContext dataContext)
    Parameters
    Type Name Description
    IDataContext dataContext

    Determines the datacontext to look for a model entity.

    Returns
    Type Description
    ModelEntityBase

    Returns the base ModelEntity for the View.

    OnPropertyChanged(String)

    Triggers the PropertyChanged event.

    Declaration
    protected virtual void OnPropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName

    Name of the property.

    ToString()

    Returns the xaml object tree as xaml string

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    the string representation of a View.

    Overrides
    System.Object.ToString()

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler
    In This Article
    Back to top Copyright © 2020 software architects gmbh