internal CommentAdornment(CommentTag commentTag, Action onClick) { _onClick = onClick; _rect = new Rectangle { Stroke = Brushes.Black, StrokeThickness = 1, Width = 20, Height = 10 }; Update(commentTag); Content = _rect; }
internal CommentAdornment(CommentTag commentTag,Action onClick) { _onClick = onClick; _rect = new Rectangle { Stroke = Brushes.Black, StrokeThickness = 1, Width = 20, Height = 10 }; Update(commentTag); Content = _rect; }
internal void Update(CommentTag commentTag) { _rect.Fill = MakeBrush(Colors.SeaGreen); _rect.Width = commentTag.Content.Length * 12; }
internal void Update(CommentTag commentTag) { _rect.Fill = MakeBrush(Colors.SeaGreen ); _rect.Width = commentTag.Content.Length * 12; }