件名のように、C#を介してWindows PhoneでBlockArrowの位置を設定する方法。
私は試しました:(indicはBlockArrowのインスタンスの名前です)
indic.SetValue(BlockArrow.MarginProperty, 500d); //no possibility to say which margin I meant here
そしてそれ:
indic.Margin.Left = 400d;
しかし、それは言う:Cannot modify the return value of 'System.Windows.FrameworkElement.Margin' because it is not a variable