11 changed files with 74 additions and 27 deletions
@ -0,0 +1,23 @@ |
|||||
|
// -----------------------------------------------------------------------
|
||||
|
// <copyright file="TestRoot.cs" company="Steven Kirk">
|
||||
|
// Copyright 2014 MIT Licence. See licence.md for more information.
|
||||
|
// </copyright>
|
||||
|
// -----------------------------------------------------------------------
|
||||
|
|
||||
|
namespace Perspex.Controls.UnitTests |
||||
|
{ |
||||
|
using System; |
||||
|
using Moq; |
||||
|
using Perspex.Layout; |
||||
|
using Perspex.Rendering; |
||||
|
|
||||
|
internal class TestTemplatedControl : TemplatedControl |
||||
|
{ |
||||
|
public bool OnTemplateAppliedCalled { get; private set; } |
||||
|
|
||||
|
protected override void OnTemplateApplied() |
||||
|
{ |
||||
|
this.OnTemplateAppliedCalled = true; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue