// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Reactive; using Avalonia.Collections; using Avalonia.Controls; using Avalonia.Data; namespace Avalonia.Styling.UnitTests { public abstract class TestTemplatedControl : ITemplatedControl, IStyleable { public event EventHandler PropertyChanged; public abstract Classes Classes { get; } public abstract string Name { get; } public abstract Type StyleKey { get; } public abstract ITemplatedControl TemplatedParent { get; } IAvaloniaReadOnlyList IStyleable.Classes => Classes; IObservable IStyleable.StyleDetach { get; } public object GetValue(AvaloniaProperty property) { throw new NotImplementedException(); } public T GetValue(AvaloniaProperty property) { throw new NotImplementedException(); } public void SetValue(AvaloniaProperty property, object value, BindingPriority priority) { throw new NotImplementedException(); } public void SetValue(AvaloniaProperty property, T value, BindingPriority priority = BindingPriority.LocalValue) { throw new NotImplementedException(); } public IDisposable Bind(AvaloniaProperty property, IObservable source, BindingPriority priority = BindingPriority.LocalValue) { throw new NotImplementedException(); } public IDisposable Bind(AvaloniaProperty property, IObservable source, BindingPriority priority = BindingPriority.LocalValue) { throw new NotImplementedException(); } public bool IsAnimating(AvaloniaProperty property) { throw new NotImplementedException(); } public bool IsSet(AvaloniaProperty property) { throw new NotImplementedException(); } } }