AreEqual Method (RenderContextUtility)
Method unified between WinForms and WPF that checks the equality between a
System.Drawing.Color (WinForms) or
System.Windows.Media.Brush (WPF) object and another
System.Drawing.Color object.
Parameters
- color1
- The first color (WinForms) or brush (WPF) object
- color2
- The second color
Return Value
True if they are equal, false elsewise.