csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
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.
47 lines
1.3 KiB
47 lines
1.3 KiB
// -----------------------------------------------------------------------
|
|
// <copyright file="SubscribeCheck.cs" company="Steven Kirk">
|
|
// Copyright 2014 MIT Licence. See licence.md for more information.
|
|
// </copyright>
|
|
// -----------------------------------------------------------------------
|
|
|
|
namespace Perspex.Styling.UnitTests
|
|
{
|
|
using System;
|
|
using Perspex.Styling;
|
|
|
|
public class TestControlBase : IStyleable
|
|
{
|
|
public TestControlBase()
|
|
{
|
|
this.Classes = new Classes();
|
|
this.SubscribeCheckObservable = new TestObservable();
|
|
}
|
|
|
|
public string Name { get; set; }
|
|
|
|
public virtual Classes Classes { get; set; }
|
|
|
|
public Type StyleKey
|
|
{
|
|
get { return this.GetType(); }
|
|
}
|
|
|
|
public TestObservable SubscribeCheckObservable { get; private set; }
|
|
|
|
public ITemplatedControl TemplatedParent
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public IDisposable Bind(PerspexProperty property, IObservable<object> source, BindingPriority priority)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void SetValue(PerspexProperty property, object value, BindingPriority priority)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
|