我需要使用MVVM在wpf canvas的image中显示show。
答案 0 :(得分:1)
我建议您首先了解wpf中控制组织的基础知识, 你可以用这样的东西实现你想要的东西 -
<StackPanel Orientation="Vertical">
<Border BorderBrush="Black"
BorderThickness="1">
<StackPanel>
<TextBlock Text="SomeText" />
<TextBlock Text="SomeMoreText" />
</StackPanel>
</Border>
<Border BorderBrush="Black"
BorderThickness="1">
<StackPanel>
<TextBlock Text="SomeText" />
<TextBlock Text="SomeMoreText" />
</StackPanel>
</Border>
<Border BorderBrush="Black"
BorderThickness="1">
<StackPanel>
<TextBlock Text="SomeText" />
<TextBlock Text="SomeMoreText" />
</StackPanel>
</Border>
</StackPanel>
答案 1 :(得分:0)