次のようなXAMLがあります。
<ItemsControl ItemsSource="{Binding PathStrings}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Path Stroke="Red" Data="{Binding}" StrokeThickness="5" />
</DataTemplate>
</ItemsControl.ItemTemplate>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
データベースからのパスデータのリストをバインドしています。ただし、これがレンダリングされると、パスは新しい行にあるように見えます(他の何かに囲まれているように)。私は本当にこれを修正したいと思います。
助言がありますか?
これは、水平方向のスタックパネルを使用します
これは垂直スタックパネル付きです
うまくいけば、これは誰かが私を助けるのに役立ちますか?ありがとう