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.
38 lines
1.1 KiB
38 lines
1.1 KiB
// -----------------------------------------------------------------------
|
|
// <copyright file="SubscribeCheck.cs" company="Steven Kirk">
|
|
// Copyright 2014 MIT Licence. See licence.md for more information.
|
|
// </copyright>
|
|
// -----------------------------------------------------------------------
|
|
|
|
namespace Perspex.UnitTests.Styling
|
|
{
|
|
using System;
|
|
using Perspex.Controls;
|
|
using Perspex.Styling;
|
|
|
|
public class TestControlBase : IStyleable
|
|
{
|
|
public TestControlBase()
|
|
{
|
|
this.Classes = new Classes();
|
|
this.SubscribeCheckObservable = new TestObservable();
|
|
}
|
|
|
|
public string Id { get; set; }
|
|
|
|
public virtual Classes Classes { get; set; }
|
|
|
|
public TestObservable SubscribeCheckObservable { get; private set; }
|
|
|
|
public ITemplatedControl TemplatedParent
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public IDisposable Bind(PerspexProperty property, IObservable<object> source, BindingPriority priority = BindingPriority.LocalValue)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
|