/// <inheritdoc/> public override bool Equals(object obj) { SolidFill f = obj as SolidFill; return(f != null && Color == f.Color); }