Class MeasureCycleTreeItemViewModel
- Namespace
- Loehnert.Lisrt.TypeAndResult.ResultsControl.ViewModels
- Assembly
- Loehnert.Lisrt.TypeAndResult.dll
Represents a view model for a MeasureCycle.
public class MeasureCycleTreeItemViewModel : TreeItemBase<MeasureCycle>, INotifyPropertyChangedEx, INotifyPropertyChanged, ITreeItem
- Inheritance
-
PropertyChangedBaseMeasureCycleTreeItemViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
- Extension Methods
Examples
This example shows how to display a measuring cycle, its additional parameters, and classification.
public class MyViewModel
{
public MeasureCycleTreeItemViewModel MeasureCycleViewModel { get; } = new MeasureCycleTreeItemViewModel();
public void SetMeasureCycle(MeasureCycle measureCycle)
{
MeasureProcessViewModel.Model = measureProcess;
}
}
Constructors
MeasureCycleTreeItemViewModel()
Initializes a new instance of the MeasureCycleTreeItemViewModel class, without an parent (root or standalone).
public MeasureCycleTreeItemViewModel()
Properties
AdditionalParametersVM
Gets or sets the view model for the MeasureCycleParameter (AdditionalParameter). A kind of header.
public AdditionalParametersViewModel<MeasureCycle, MeasureCycleParameter> AdditionalParametersVM { get; set; }
Property Value
MeasureClassificationVM
Gets or sets the view model for the Classification with time stamps and duration. A kind of header.
public MeasureClassificationViewModel MeasureClassificationVM { get; set; }
Property Value
Model
Gets or sets the model.
[AlsoNotifyFor("TreeItemIcon")]
public override MeasureCycle Model { get; set; }
Property Value
TreeItemIcon
Gets the tree icon.
public override Uri TreeItemIcon { get; }
Property Value
TreeItemName
Gets the translatable Name for the tree item. Prefer to us an Gu.Localization.ITranslation.
public override string TreeItemName { get; }