src/FingersDance.ViewModel/CuttingViewModel.cs
changeset 55 1ec0ef228158
child 69 a4c44555f205
equal deleted inserted replaced
53:09d0bc6970b5 55:1ec0ef228158
       
     1 using System;
       
     2 using System.Collections.Generic;
       
     3 using System.Linq;
       
     4 using System.Text;
       
     5 
       
     6 namespace FingersDance.ViewModel
       
     7 {
       
     8     class CuttingViewModel : ViewModelBase
       
     9     {
       
    10         private string _title;
       
    11         private List<AnnotationViewModel> _annotList = new List<AnnotationViewModel>();
       
    12         
       
    13         public String Title
       
    14         {
       
    15             get { return _title; }
       
    16             set
       
    17             {
       
    18                 if (value == _title || String.IsNullOrEmpty(value))
       
    19                     return;
       
    20                 _title = value;
       
    21                 base.OnPropertyChanged("Title");
       
    22             }
       
    23         }
       
    24         public List<AnnotationViewModel> AnnotList
       
    25         {
       
    26             get { return _annotList; }
       
    27             set
       
    28             {
       
    29                 _annotList = value;
       
    30                 base.OnPropertyChanged("AnnotList");
       
    31             }
       
    32         }
       
    33     }
       
    34 }