Ejemplo n.º 1
0
 private protected virtual void InitializeProperties()
 {
     ControllerView.SetCommentDisplayMode(CommentDisplayMode);
     ControllerView.SetShowUnfocusedComments(ShowUnfocusedComments);
     ControllerView.SetShowBlockGeometry(ShowBlockGeometry);
     ControllerView.SetShowLineNumber(ShowLineNumber);
 }
Ejemplo n.º 2
0
        private protected virtual void OnShowBlockGeometryPropertyChanged(DependencyPropertyChangedEventArgs e)
        {
            if (ControllerView != null)
            {
                ControllerView.SetShowBlockGeometry(ShowBlockGeometry);

                InvalidateMeasure();
                InvalidateVisual();
            }
        }