using System;
using System.Threading;
using Avalonia.Animation;
using Avalonia.Controls;
using Avalonia.Styling;
namespace Avalonia.ReactiveUI
{
///
/// A ContentControl that animates the transition when its content is changed.
///
[Obsolete("Use TransitioningContentControl in Avalonia.Controls namespace")]
public class TransitioningContentControl : ContentControl, IStyleable
{
///
/// for the property.
///
public static readonly StyledProperty PageTransitionProperty =
AvaloniaProperty.Register(nameof(PageTransition),
new CrossFade(TimeSpan.FromSeconds(0.5)));
///
/// for the property.
///
public static readonly StyledProperty