Interface IViewModelBase
Inherited Members
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Namespace: Simplic.UI.MVC
Assembly: Simplic.UI.dll
Syntax
public interface IViewModelBase : INotifyPropertyChanged
Properties
| Improve this Doc View SourceForceSave
get or set a state which indicates if something has changed and needs to be saved. Passes the ForceSave value to the Parent Used by DefaultRibbonWindow to call the OnSave method
Declaration
[Browsable(false)]
bool ForceSave { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDirty
Get/Set wether the values has changed in the current ViewModel instance. The default-value is false
Declaration
[Browsable(false)]
bool IsDirty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Parent
gets or sets the parent ViewModel
Declaration
[Browsable(false)]
IViewModelBase Parent { get; set; }
Property Value
Type | Description |
---|---|
UI.MVC.IViewModelBase |
Methods
| Improve this Doc View SourceOnClose()
Called when DefaultRibbonWindow closes used to clear locks
Declaration
void OnClose()
RaisePropertyChanged(String)
Raise event for a property which value has changed
Declaration
void RaisePropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the Property |