Exemplo n.º 1
0
 /// <summary>
 /// Initialises a new instance of the <see cref="WizardItemModel"/> class.
 /// </summary>
 public WizardItemModel()
 {
     this.children = new WizardItemModelCollection();
     this.children.WhenCollectionChanged.Subscribe(this.OnChildrenChanged);
     this.children.WhenItemChanged
     .Where(x => string.Equals(x.PropertyName, "Visibility", StringComparison.Ordinal))
     .Subscribe(this.OnChildChanged);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialises a new instance of the <see cref="WizardItemModel"/> class.
 /// </summary>
 public WizardItemModel()
 {
     this.children = new WizardItemModelCollection();
 }