Class AppointmentTypeViewModel
Viewmodel for the AppointmentTypeEditor
Inheritance
System.Object
AppointmentTypeViewModel
Implements
Namespace: Simplic.PlugIn.Logistics.UI.ViewModel
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class AppointmentTypeViewModel : UI.MVC.ViewModelBase, ICoreDataViewModel
Constructors
| Improve this Doc View SourceAppointmentTypeViewModel(AppointmentType)
Initializes a new instance of AppointmentTypeViewModel with a given AppointmentType as model
Declaration
public AppointmentTypeViewModel(AppointmentType model)
Parameters
Type | Name | Description |
---|---|---|
AppointmentType | model | The given AppointmentType |
Properties
| Improve this Doc View SourceInterval
Gets or sets the Interval as int
Declaration
public int Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IntervalDurationType
Gets or the IntervalDurationType as byte
Declaration
public byte IntervalDurationType { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
IntervalTypes
Declaration
public ObservableCollection<DurationTypeViewModel> IntervalTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<DurationTypeViewModel> |
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 AppointmentType model
Declaration
public AppointmentType Model { get; }
Property Value
Type | Description |
---|---|
AppointmentType |
Name
Gets or sets the Name as string
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SelectedIntervalDurationType
Declaration
public DurationTypeViewModel SelectedIntervalDurationType { get; set; }
Property Value
Type | Description |
---|---|
DurationTypeViewModel |