<span =“Apple-style-span” style="font-family: ‘Times New Roman’; line-height: normal; font-size: medium; ">
I have a working app with the diagram shown below. The diagram is intended to have a grid structure with rows and columns. I need to highlight the borders of a Cell area as a potential drop target when a Node is dragged from a Palette over the Cell area. How could I go about doing that?
<go:Diagram x:Name="FunctionBlockDiagram" Padding="10" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" AllowDrop="True" AllowScroll="True" Model="{Binding DiagramModel}" LinkTemplate="{DynamicResource LinkTemplate}" NodeTemplate="{DynamicResource FunctionBlockTemplate}" GridVisible="True" SnapsToDevicePixels="True" > <go:Diagram.Layout> <go:GridLayout Conditions="None" Sorting="Forward" CellSize="250, 300" Spacing="50 50" WrappingWidth="2400" /> </go:Diagram.Layout> <go:Diagram.DraggingTool> <graph:FunctionBlockDraggingTool DragOverSnapArea="Diagram" DropOntoEnabled="False" /> </go:Diagram.DraggingTool> <go:Diagram.LinkingTool> <graph:FunctionBlockLinkingTool /> </go:Diagram.LinkingTool> <go:Diagram.RelinkingTool> <graph:FunctionBlockReLinkingTool /> </go:Diagram.RelinkingTool> <go:Diagram.GridPattern> <go:GridPattern CellSize="25, 25" > <Path go:GridPattern.Figure="HorizontalLine" > <Path.Stroke> <SolidColorBrush Color="{DynamicResource LightGrayTop}"/> </Path.Stroke> </Path> <Path go:GridPattern.Figure="VerticalLine" > <Path.Stroke> <SolidColorBrush Color="{DynamicResource LightGrayTop}"/> </Path.Stroke> </Path> </go:GridPattern> </go:Diagram.GridPattern> </go:Diagram>