Class VehicleTypeGroupViewModel
Viewmodel for the VehicleTypeGroupEditor
Inheritance
System.Object
VehicleTypeGroupViewModel
Implements
Namespace: Simplic.PlugIn.Logistics.UI.ViewModel
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class VehicleTypeGroupViewModel : ExtendableViewModel, ICoreDataViewModel
Constructors
| Improve this Doc View SourceVehicleTypeGroupViewModel(VehicleTypeGroup, Boolean)
Initialize new VehicleTypeGroup view model
Declaration
public VehicleTypeGroupViewModel(VehicleTypeGroup model, bool loadTypeGroups = true)
Parameters
Type | Name | Description |
---|---|---|
VehicleTypeGroup | model | VehicleTypeGroup instance |
System.Boolean | loadTypeGroups |
Properties
| Improve this Doc View SourceAddVehicleType
Gets or sets the Command AddVehicleType
Declaration
public ICommand AddVehicleType { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AllVehicleTypes
Gets AllVehicleTypes
Declaration
public ObservableCollection<VehicleTypeViewModel> AllVehicleTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<VehicleTypeViewModel> |
IsSelectable
Gets or sets the IsSelectable-Flag as bool
Declaration
public bool IsSelectable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Model
Gets the current VehicleTypeGroup model
Declaration
public VehicleTypeGroup Model { get; }
Property Value
Type | Description |
---|---|
VehicleTypeGroup |
Name
Gets or sets the Name as string
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
VehicleTypes
Gets the VehicleTypes
Declaration
public ObservableCollection<VehicleTypeViewModel> VehicleTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<VehicleTypeViewModel> |