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