private protected static void TemplateSetPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            EaslyDisplayControl ctrl = (EaslyDisplayControl)d;

            if (ctrl.TemplateSet != e.OldValue)
            {
                ctrl.OnTemplateSetPropertyChanged(e);
            }
        }
        private protected static void ShowLineNumberPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            EaslyDisplayControl ctrl = (EaslyDisplayControl)d;

            if (ctrl.ShowLineNumber != (bool)e.OldValue)
            {
                ctrl.OnShowLineNumberPropertyChanged(e);
            }
        }
        private protected static void BrushTablePropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            EaslyDisplayControl ctrl = (EaslyDisplayControl)d;

            if (ctrl.BrushTable != e.OldValue)
            {
                ctrl.OnBrushTablePropertyChanged(e);
            }
        }
        private protected static void CommentDisplayModePropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            EaslyDisplayControl ctrl = (EaslyDisplayControl)d;

            if (ctrl.CommentDisplayMode != (CommentDisplayModes)e.OldValue)
            {
                ctrl.OnCommentDisplayModePropertyChanged(e);
            }
        }