mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
21 lines
626 B
C#
21 lines
626 B
C#
using System.Windows;
|
|
|
|
namespace ServerManagerTool.Common.Lib
|
|
{
|
|
public class BindingProxy : Freezable
|
|
{
|
|
public static readonly DependencyProperty DataProperty = DependencyProperty.Register("Data", typeof(object), typeof(BindingProxy), new UIPropertyMetadata(null));
|
|
public object Data
|
|
{
|
|
get { return (object)GetValue(DataProperty); }
|
|
set { SetValue(DataProperty, value); }
|
|
}
|
|
|
|
#region Overrides of Freezable
|
|
protected override Freezable CreateInstanceCore()
|
|
{
|
|
return new BindingProxy();
|
|
}
|
|
#endregion
|
|
}
|
|
}
|