コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SubListTabViewModel"/> class.
 /// </summary>
 /// <param name="model">The model.</param>
 public SubListTabViewModel(ListTabViewModel <TEntity> model) : this()
 {
     ListTabViewModel = model;
 }
コード例 #2
0
 /// <summary>
 /// Adds the sub list tab view model.
 /// </summary>
 /// <param name="subModel">The sub model.</param>
 public void AddSubListTabViewModel(ListTabViewModel <TEntity> subModel)
 {
     SubListTabViewModels.Add(new SubListTabViewModel(subModel));
     subModel.ParentViewModel = this;
 }