1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| using System.Windows;
|
| namespace HMI.Core.Util
| {
| public class BindingProxy : Freezable
| {
| protected override Freezable CreateInstanceCore()
| {
| return new BindingProxy();
| }
|
| public object Data
| {
| get { return (object)GetValue(DataProperty); }
| set { SetValue(DataProperty, value); }
| }
|
| public static readonly DependencyProperty DataProperty =
| DependencyProperty.Register("Data", typeof(object), typeof(BindingProxy),
| new UIPropertyMetadata(null));
| }
| }
|
|