前提・実現したいこと
WPFのXAMLで、ふたつのEllipesの位置をBindingしたいです。
そもそもできるものなのでしょうか?
試したこと
該当のソースコード
xaml
1<EllipseGeometry x:Name="ellipseGeometry" RadiusX="45" RadiusY="{Binding ElementName=ellipseGeometry, Path=RadiusX}" Center="90,50"/> 2<EllipseGeometry RadiusX="{Binding ElementName=ellipseGeometry, Path=RadiusX}" 3 RadiusY="{Binding ElementName=ellipseGeometry, Path=RadiusX}" 4 Center="90,250"/>
こんな感じにしたい。
xaml
1Center="{Binding ElementName=ellipseGeometry, Path=Center.X}, {Binding ElementName=ellipseGeometry, Path=Center.Y}+200"/>
エラーメッセージ
この位置で,を使用することできません。
補足情報(FW/ツールのバージョンなど)
Visual Studio 2015 Pro
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/02/27 07:02
2018/02/27 07:05
2018/02/27 07:11
2018/02/27 07:15
2018/02/27 07:32
2018/02/27 07:53