Reputation: 330972
I am using a WrapPanel with an Image and Label, but the Label shows up to the right of the item. How can I make it show up at the bottom of the Image/Item?
<Window.Resources>
<DataTemplate x:Key="ItemTemplate">
<WrapPanel Orientation="Horizontal">
<Image Width="50" Height="50" Stretch="Fill" Source="{Binding Cover}"/>
<Label Content="{Binding Title}" />
</WrapPanel>
</DataTemplate>
</Window.Resources>
Upvotes: 0
Views: 331
Reputation: 16526
Change:
Orientation="Horizontal"
To:
Orientation="Vertical"
I don't think any further explanation is needed!
Upvotes: 1