Cześć, mam taki kod w WPF'ie:
<StackPanel Orientation="Horizontal">
<Label Foreground="AliceBlue" Content="Kategorie:" />
<ListView Foreground="AliceBlue" ItemsSource="{Binding Categorys}" Background="Transparent" BorderThickness="0">
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal">
</StackPanel>
</ItemsPanelTemplate>
</ListView.ItemsPanel>
<ListView.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<Label Foreground="AliceBlue" HorizontalContentAlignment="Left" Width="auto" Content="{Binding Name}" />
</StackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackPanel>
Wyświetla on w interfejsie napisy mniej wiecej w ten sposób:
Kategorie: aaaaaaa bbbbbbbbbbbbb ccccccccccccccccc
Chciałbym natomiast uzyskać efekt tego typu:
Kategorie: aaaaaaa bbbbbbbbbbbbb ccccccccccccccccc
Czy ktoś wie jak to osiągnąć?