Class View
- Namespace
- TimeCockpit.Data.DataModel.View
- Assembly
- TimeCockpit.Data.dll
Displays data from the model.
public abstract class View : INotifyPropertyChanged
- Inheritance
-
ObjectView
- Implements
-
INotifyPropertyChanged
- Derived
- Inherited Members
-
Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
View()
Initializes a new instance of the View class.
public View()
Properties
ModelEntityName
Gets or sets the name of the base ModelEntity for the View.
public string ModelEntityName { get; set; }
Property Value
- String
Methods
GetModelEntity(IDataContext)
Gets the base ModelEntity for the View.
public ModelEntityBase GetModelEntity(IDataContext dataContext)
Parameters
dataContextIDataContextDetermines the datacontext to look for a model entity.
Returns
- ModelEntityBase
Returns the base ModelEntity for the View.
OnPropertyChanged(String)
Triggers the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyNameStringName of the property.
ToString()
Returns the xaml object tree as xaml string
public override string ToString()
Returns
- String
the string representation of a View.
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Event Type
- PropertyChangedEventHandler