lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.03k stars 666 forks source link

Listview Styling gone after Upgrade from 3.0.1 to 3.0.2 #1113

Open treestructure opened 4 weeks ago

treestructure commented 4 weeks ago

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) image

after (3,0.2) image

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

Muniwedesu commented 2 weeks ago

try <ui:ListView/>