wpfui
wpfui copied to clipboard
Listview Styling gone after Upgrade from 3.0.1 to 3.0.2
Describe the bug
after upgrading from WPF UI 3.0.1 to 3.0.2 the styling of the Listview somehow completely got lost in my case ?
before (3.0.1)
after (3,0.2)
To Reproduce
add a simple list view like this to ur wpf fluentwindow:
<ui:FluentWindow
ExtendsContentIntoTitleBar="True"
Height="1000"
Title="Test"
Width="800"
WindowBackdropType="Mica"
WindowCornerPreference="DoNotRound"
WindowStartupLocation="CenterScreen"
x:Class="com.Test.Testwindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ui:TitleBar Grid.Row="0" />
<StackPanel Grid.Row="1">
<ListView
ItemsSource="{Binding Mappings}"
Margin="10,0,10,0"
VerticalAlignment="Top">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="test" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackPanel>
</Grid>
</ui:FluentWindow>
Expected behavior
should render the styleseet
Screenshots
No response
OS version
Windows 11 Pro 10.0.22631 Build 22631
.NET version
.NET 8
WPF-UI NuGet version
3.0.2
Additional context
No response
try <ui:ListView/>