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.
92 lines
2.6 KiB
92 lines
2.6 KiB
// -----------------------------------------------------------------------
|
|
// <copyright file="TestControlBase.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();
|
|
}
|
|
|
|
public IObservable<object> GetObservable(PerspexProperty property)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public bool IsRegistered(PerspexProperty property)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void ClearValue(PerspexProperty property)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public object GetValue(PerspexProperty property)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public bool IsSet(PerspexProperty property)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public IDisposable Bind<T>(PerspexProperty<T> property, IObservable<T> source, BindingPriority priority = BindingPriority.LocalValue)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public IObservable<T> GetObservable<T>(PerspexProperty<T> property)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public T GetValue<T>(PerspexProperty<T> property)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void SetValue<T>(PerspexProperty<T> property, T value, BindingPriority priority = BindingPriority.LocalValue)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
|