Class ChangeTrackingViewModel
Inheritance
System.Object
ChangeTrackingViewModel
Namespace: Simplic.Change.Tracking.UI
Assembly: Simplic.Change.Tracking.UI.dll
Syntax
public class ChangeTrackingViewModel : ViewModelBase
Constructors
| Improve this Doc View SourceChangeTrackingViewModel(ChangeTracking)
Constructor to get the model
Declaration
public ChangeTrackingViewModel(ChangeTracking model)
Parameters
Type | Name | Description |
---|---|---|
ChangeTracking | model |
ChangeTrackingViewModel(ChangeTrackingKey)
Overloading constructor to initialize the model
Declaration
public ChangeTrackingViewModel(ChangeTrackingKey changeTrackingKey)
Parameters
Type | Name | Description |
---|---|---|
ChangeTrackingKey | changeTrackingKey |
Properties
| Improve this Doc View SourceChange
Gets or sets the crud type
Declaration
public CrudType Change { get; set; }
Property Value
Type | Description |
---|---|
CrudType |
ChangedOn
Gets or sets the date time when the change occured
Declaration
public DateTime ChangedOn { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Changes
Gets or sets the changes
Declaration
public ObservableCollection<ChildViewModel> Changes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ChildViewModel> |
IsExpandable
Gets or sets if the rows are expandable
Declaration
public bool IsExpandable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsExpanded
Gets or sets if the rows are expanded
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UserName
Gets or sets the user name
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |