/// <summary> /// Initializes a new instance of the <see cref="ItemContainerGenerator"/> class. /// </summary> /// <param name="owner">The <see cref="ItemsControl"/> that owns this generator.</param> internal ItemContainerGenerator(ItemsControl owner) { Contract.Require(owner, "owner"); this.owner = owner; }
/// <summary> /// Initializes a new instance of the <see cref="ItemCollection"/> class. /// </summary> /// <param name="owner">The <see cref="ItemsControl"/> that owns the collection.</param> public ItemCollection(ItemsControl owner) { Contract.Require(owner, "owner"); this.owner = owner; }
/// <summary> /// Initializes a new instance of the <see cref="ItemContainerGenerator"/> class. /// </summary> /// <param name="owner">The <see cref="ItemsControl"/> that owns this generator.</param> internal ItemContainerGenerator(ItemsControl owner) { Contract.Require(owner, nameof(owner)); this.owner = owner; }