Hi Youngjin,
Thanks for using Syncfusion products.
We suggest you to use the SelectTool.TrackingStyle’s ‘LineColor’ property to change the line color of the region selected while dragging through mouse. Please refer the below code snippet to achieve your requirement.
Here is the code snippet:
[C#]
void diagram1_MouseDown(object sender, MouseEventArgs e)
{
if (diagram1.Controller.ActiveTool.Name == "SelectTool")
{
((SelectTool)diagram1.Controller.ActiveTool).TrackingStyle.LineColor = Color.Red;
}
}
Here is the sample:
Forum SelectToolColor Change-1891792784.zipPlease try the above sample and let us know if you have any queries.
Regards,
Amsath Ali. M