using System;
using System.Windows;

namespace Earthblend.Tts.Common.Core.Behaviors
{
    public class FreezableBindingProxy : Freezable
    {
        #region Overrides of Freezable

        protected override Freezable CreateInstanceCore() { return new FreezableBindingProxy(); }

        #endregion

        public Object DataContext { get { return (object)GetValue(DataContextProperty); } set { SetValue(DataContextProperty, value); } }
        public Object Data { get { return (object)GetValue(DataProperty); } set { SetValue(DataProperty, value); } }

        public static readonly DependencyProperty DataContextProperty = DependencyProperty.Register("DataContext", typeof(Object), typeof(FreezableBindingProxy), new UIPropertyMetadata(null));
        public static readonly DependencyProperty DataProperty = DependencyProperty.Register("Data", typeof(Object), typeof(FreezableBindingProxy), new UIPropertyMetadata(null));
    }
}