Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listview Styling gone after Upgrade from 3.0.1 to 3.0.2 #1113

Open
treestructure opened this issue Jun 6, 2024 · 1 comment
Open

Listview Styling gone after Upgrade from 3.0.1 to 3.0.2 #1113

treestructure opened this issue Jun 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@treestructure
Copy link

treestructure commented Jun 6, 2024

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

@treestructure treestructure added the bug Something isn't working label Jun 6, 2024
@Muniwedesu
Copy link
Contributor

Muniwedesu commented Jun 18, 2024

try <ui:ListView/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants