void ActivateTool() { if (ActiveTool != null) { if (DrawingArea != null) { DrawingArea.SetBinding(FrameworkElement.CursorProperty, new Binding("ToolCursor") { Source = ActiveTool }); } } }
void ActivateTool() { if (ActiveTool != null) { if (DrawingArea != null) { DrawingArea.SetBinding(FrameworkElement.CursorProperty, new Binding("ToolCursor") { Source = ActiveTool }); } } }