I have a canvas (rectangle) where I draw a point. When I move mouse, this point changes its position, but I want to change not only position in the canvas, but also data in my model (namely 2d vector).
Can I bind position of a point on a canvas to my vector using XAML? Maybe I should create a ValueConverter, but I don't know how to get reference to canvas in the function
public object Convert(object value, Type targetType,
object parameter, CultureInfo culture) {
...
}