the error by being more specific.
Here is the code:
// initiate new solid color brush with custom blue color
Brush myBrush = new SolidColorBrush(Color.FromRgb(56, 120, 153));
myBrush.Freeze();
Draw.Line(this, "tag1", true, 10, 1000, 0, 1001, myBrush, DashStyleHelper.Dot, 2);
Here is error followed by source I copied from
| Error | |
| 'Brush' is an ambiguous reference between 'System.Windows.Media.Brush' and 'SharpDX.Direct2D1.Brush' | |
| 'SolidColorBrush' is an ambiguous reference between 'System.Windows.Media.SolidColorBrush' and 'SharpDX.Direct2D1.SolidColorBrush' |

Comment