A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
933 B

// -----------------------------------------------------------------------
// <copyright file="ControlTemplate.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Controls.Templates
{
using System;
using Perspex.Controls.Primitives;
using Perspex.Styling;
/// <summary>
/// A template for a <see cref="TemplatedControl"/>.
/// </summary>
public class ControlTemplate : FuncTemplate<ITemplatedControl, IControl>, IControlTemplate
{
/// <summary>
/// Initializes a new instance of the <see cref="ControlTemplate"/> class.
/// </summary>
/// <param name="build">The build function.</param>
public ControlTemplate(Func<ITemplatedControl, IControl> build)
: base(build)
{
}
}
}