/*
© 2017 Altavant Technologies Inc.
Web: http://www.altavant.com
*/

namespace Altavant.Fusion.Layouting.Grid
{
	internal class RowTemplate : Row, IRowTemplate
	{
		public RowTemplate(Layout layout, Element parent, Grid grid)
			: base(layout, parent, grid)
		{

		}

		public override ElementType Type
		{
			get
			{
				return ElementType.GridRowTemplate;
			}
		}

		public override Element Clone(Element parent)
		{
			RowTemplate template = new RowTemplate(_layout, parent, _grid);
			
			CloneImpl(template);
			
			return template;
		}
	}
}