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

Fluent2: ListView.View set to GridView Is Unsupported #10357

Open
robert-abeo opened this issue Jan 29, 2025 · 1 comment
Open

Fluent2: ListView.View set to GridView Is Unsupported #10357

robert-abeo opened this issue Jan 29, 2025 · 1 comment

Comments

@robert-abeo
Copy link

Description

The Fluent2 ListView styles do NOT support GridView at all. This is pretty common in WPF for lightweight tables.

Reproduction Steps

<ListView
    ItemsSource="{Binding ListResults}"
    SelectionMode="Single">
    <ListView.View>
        <GridView>
            <GridViewColumn
                DisplayMemberBinding="{Binding Name}"
                Header="Name" />
            <GridViewColumn
                DisplayMemberBinding="{Binding Description}"
                Header="Desc" />
        </GridView>
    </ListView.View>
</ListView>

Expected behavior

We should see a table with Name and Desc headers in the above example.

Actual behavior

Nothing is shown -- or -- the default .ToString() is shown.

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

@robert-abeo robert-abeo changed the title Fluent2: ListView.View set to GridView Is Missing Fluent2: ListView.View set to GridView Is Unsupported Jan 29, 2025
@robert-abeo
Copy link
Author

I see a similar issue was reported here: #10076

However, that doesn't clearly indicate its the GridView View that is the problem.

This is a pretty serious one and should have been fixed before .NET 9 release...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants