Class DepartmentViewModel
Viewmodel for the DepartmentEditor
Inheritance
System.Object
DepartmentViewModel
Implements
Namespace: Simplic.PlugIn.Logistics.UI.ViewModel
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class DepartmentViewModel : UI.MVC.ViewModelBase, ICoreDataViewModel
Constructors
| Improve this Doc View SourceDepartmentViewModel(Department)
Declaration
public DepartmentViewModel(Department model)
Parameters
Type | Name | Description |
---|---|---|
Department | model |
Properties
| Improve this Doc View SourceBrush
Gets the color as solid color brush
Declaration
public SolidColorBrush Brush { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.SolidColorBrush |
Color
Gets or sets the color of the department
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color |
IsSelectable
Gets or sets the IsSelectable-Flag as bool
Declaration
public bool IsSelectable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Model
Gets the department model
Declaration
public Department Model { get; }
Property Value
Type | Description |
---|---|
Department |
Name
Gets or sets the Name as string
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrderId
Gets or sets the OrderId as int
Declaration
public int OrderId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |