Cannot bind the Content of GridViewColumnHeader
Hi, I have a XAML as follows, which tries to bind the Content of a GridViewColumnHeader.
However, the binding is not evaluated.
Debugging the source code, I found that the DataContextChanged of the GridViewColumnHeader is not called. Weirdly, the following code is working and showing the column header correctly.
Is it a known bug ? I am currently using version 2.2.3.
However, the binding is not evaluated.
Code: Select all
<ListView>
<ListView.View>
<GridView>
<GridViewColumn>
<GridViewColumnHeader Content="{Binding BindingText}"/>
</GridViewColumn>
</GridView>
</ListView.View>
</ListView>
Code: Select all
<ListView>
<ListView.View>
<GridView>
<GridViewColumn Header="{Binding BindingText}" />
</GridView>
</ListView.View>
</ListView>
-
sfernandez
Site Admin
- Posts: 2991
- Joined:
Re: Cannot bind the Content of GridViewColumnHeader
Yes, I think it is the same bug as this one: #1559
We fixed it for the next release that is coming soon.
We fixed it for the next release that is coming soon.
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 72 guests