| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- // 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<AvaloniaPropertyChangedEventArgs> PropertyChanged;
- public event EventHandler<AvaloniaPropertyChangedEventArgs> InheritablePropertyChanged;
- public abstract Classes Classes
- {
- get;
- }
- public abstract string Name
- {
- get;
- }
- public abstract Type StyleKey
- {
- get;
- }
- public abstract ITemplatedControl TemplatedParent
- {
- get;
- }
- IAvaloniaReadOnlyList<string> IStyleable.Classes => Classes;
- IObservable<IStyleable> IStyleable.StyleDetach { get; }
- public object GetValue(AvaloniaProperty property)
- {
- throw new NotImplementedException();
- }
- public T GetValue<T>(AvaloniaProperty<T> property)
- {
- throw new NotImplementedException();
- }
- public void SetValue(AvaloniaProperty property, object value, BindingPriority priority)
- {
- throw new NotImplementedException();
- }
- public void SetValue<T>(AvaloniaProperty<T> property, T value, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public IDisposable Bind(AvaloniaProperty property, IObservable<BindingValue<object>> source, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public IDisposable Bind<T>(AvaloniaProperty<T> property, IObservable<BindingValue<T>> source, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public bool IsAnimating(AvaloniaProperty property)
- {
- throw new NotImplementedException();
- }
- public bool IsSet(AvaloniaProperty property)
- {
- throw new NotImplementedException();
- }
- public void ClearValue(AvaloniaProperty property)
- {
- throw new NotImplementedException();
- }
- public void ClearValue<T>(AvaloniaProperty<T> property)
- {
- throw new NotImplementedException();
- }
- public void AddInheritanceChild(IAvaloniaObject child)
- {
- throw new NotImplementedException();
- }
- public void RemoveInheritanceChild(IAvaloniaObject child)
- {
- throw new NotImplementedException();
- }
- public void InheritanceParentChanged<T>(StyledPropertyBase<T> property, IAvaloniaObject oldParent, IAvaloniaObject newParent)
- {
- throw new NotImplementedException();
- }
- public void InheritedPropertyChanged<T>(AvaloniaProperty<T> property, Optional<T> oldValue, Optional<T> newValue)
- {
- throw new NotImplementedException();
- }
- public void ClearValue<T>(StyledPropertyBase<T> property)
- {
- throw new NotImplementedException();
- }
- public void ClearValue<T>(DirectPropertyBase<T> property)
- {
- throw new NotImplementedException();
- }
- public T GetValue<T>(StyledPropertyBase<T> property)
- {
- throw new NotImplementedException();
- }
- public T GetValue<T>(DirectPropertyBase<T> property)
- {
- throw new NotImplementedException();
- }
- public void SetValue<T>(StyledPropertyBase<T> property, T value, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public void SetValue<T>(DirectPropertyBase<T> property, T value)
- {
- throw new NotImplementedException();
- }
- public IDisposable Bind<T>(StyledPropertyBase<T> property, IObservable<BindingValue<T>> source, BindingPriority priority = BindingPriority.LocalValue)
- {
- throw new NotImplementedException();
- }
- public IDisposable Bind<T>(DirectPropertyBase<T> property, IObservable<BindingValue<T>> source)
- {
- throw new NotImplementedException();
- }
- }
- }
|