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