diff --git a/MainDemo.Wpf/DataGrids.xaml b/MainDemo.Wpf/DataGrids.xaml index d33b50ed9b..1f4a9aa80e 100644 --- a/MainDemo.Wpf/DataGrids.xaml +++ b/MainDemo.Wpf/DataGrids.xaml @@ -32,22 +32,20 @@ SelectedIndex="0" /> + + - - - - - + diff --git a/MainDemo.Wpf/Domain/BindingProxy.cs b/MainDemo.Wpf/Domain/BindingProxy.cs deleted file mode 100644 index 9bd6e4a7bb..0000000000 --- a/MainDemo.Wpf/Domain/BindingProxy.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace MaterialDesignDemo.Domain; - -public class BindingProxy : DependencyObject -{ - public object? Data - { - get => GetValue(DataProperty); - set => SetValue(DataProperty, value); - } - - public static readonly DependencyProperty DataProperty = - DependencyProperty.Register("Data", typeof(object), typeof(BindingProxy), new UIPropertyMetadata(null)); -} diff --git a/MaterialDesign3.Demo.Wpf/DataGrids.xaml b/MaterialDesign3.Demo.Wpf/DataGrids.xaml index c462810525..2ec3c89010 100644 --- a/MaterialDesign3.Demo.Wpf/DataGrids.xaml +++ b/MaterialDesign3.Demo.Wpf/DataGrids.xaml @@ -22,22 +22,20 @@ + + - - - - - + diff --git a/MaterialDesign3.Demo.Wpf/Domain/BindingProxy.cs b/MaterialDesign3.Demo.Wpf/Domain/BindingProxy.cs deleted file mode 100644 index a35ab12688..0000000000 --- a/MaterialDesign3.Demo.Wpf/Domain/BindingProxy.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace MaterialDesign3Demo.Domain; - -public class BindingProxy : DependencyObject -{ - public object? Data - { - get => GetValue(DataProperty); - set => SetValue(DataProperty, value); - } - - public static readonly DependencyProperty DataProperty = - DependencyProperty.Register("Data", typeof(object), typeof(BindingProxy), new UIPropertyMetadata(null)); -}