// -----------------------------------------------------------------------
//
// Copyright 2015 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Controls.Generators
{
using System.Collections.Generic;
///
/// Holds details about a set of item containers in an .
///
public class ItemContainers
{
///
/// Initializes a new instance of the class.
///
/// The index of the first container in the source items.
/// The containers.
public ItemContainers(int startingIndex, IList containers)
{
this.StartingIndex = startingIndex;
this.Items = containers;
}
///
/// Gets the index of the first container in the source items.
///
public int StartingIndex { get; }
///
/// Gets the containers. May contain null entries.
///
public IList Items { get; }
}
}