Class StackReportEditorViewModel
Represents the ViewModel for the stack report editor
Implements
Inherited Members
Namespace: Simplic.DataStack.UI
Assembly: Simplic.DataStack.UI.dll
Syntax
public class StackReportEditorViewModel : ExtendableViewModel, IPyExtendableViewModel
Constructors
| Improve this Doc View SourceStackReportEditorViewModel(Guid)
Initializes a new stack report editor viewmodel
Declaration
public StackReportEditorViewModel(Guid stackId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackId |
Properties
| Improve this Doc View SourceDeleteReport
Gets or sets the command to delete a report
Declaration
public ICommand DeleteReport { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
FlowConfiguration
Gets or sets the flow configuration command
Declaration
public ICommand FlowConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Reports
Gets or sets the report view models
Declaration
public ObservableCollection<StackReportViewModel> Reports { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<StackReportViewModel> |
StackId
Gets the stack id
Declaration
public Guid StackId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Methods
| Improve this Doc View SourceLoadStackReports(Guid)
Loads all stack reports view models
Declaration
public ObservableCollection<StackReportViewModel> LoadStackReports(Guid stackId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackId |
Returns
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<StackReportViewModel> |
Save()
Save data
Declaration
public void Save()