private static void CurrentItemValueChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            WPFDataForm df = sender as WPFDataForm;

            if (df != null)
            {
                df.CurrentItemChanged();
            }
        }
        private static void OnDefaultReadOnlyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WPFDataForm df = d as WPFDataForm;

            if (df != null)
            {
                df.DiscoverObject();
            }
        }