Hi, i am able to change the color of the rectangle in the overview by setting a BoxTemplate on the overview in XAML.
What i want to achieve is, to do the same for the diagram itself too. - Dont want a Magenta rectangle.
In the Generics.xaml if found those two templates:
<DataTemplate x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type go:Diagram}, ResourceId=DefaultDragSelectingBoxTemplate}">
<Rectangle Stroke="Magenta" StrokeThickness="1" go:Node.Selectable="False" go:Node.LayerName="Tool" />
</DataTemplate>
<DataTemplate x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type go:Diagram}, ResourceId=DefaultDragZoomingBoxTemplate}">
<Rectangle Stroke="Magenta" StrokeThickness="1" go:Node.Selectable="False" go:Node.LayerName="Tool" />
</DataTemplate>
My problem is, i dont know where i can set them? - Or better said, how can i apply a new template for the drag-selection?