Exemple #1
0
        /// <inheritdoc/>
        public override bool Equals(object obj)
        {
            SimpleHighlightingBrush other = obj as SimpleHighlightingBrush;

            if (other == null)
            {
                return(false);
            }
            return(this.brush.Color.Equals(other.brush.Color));
        }
 public CachedHighlightingColor(Color color)
 {
     Color = color;
     Foreground = new SimpleHighlightingBrush(color);
     Freeze();
 }