private protected virtual void InitializeProperties()
 {
     ControllerView.SetCommentDisplayMode(CommentDisplayMode);
     ControllerView.SetShowUnfocusedComments(ShowUnfocusedComments);
     ControllerView.SetShowBlockGeometry(ShowBlockGeometry);
     ControllerView.SetShowLineNumber(ShowLineNumber);
 }
        private protected virtual void OnCommentDisplayModePropertyChanged(DependencyPropertyChangedEventArgs e)
        {
            if (ControllerView != null)
            {
                ControllerView.SetCommentDisplayMode(CommentDisplayMode);

                InvalidateMeasure();
                InvalidateVisual();
            }
        }