You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, DataGridColumn.Header is just a thin wrapper over headerCell.Content = _header.
When only values set, everything works fine. But when a binding is provided by some MarkupExtension, something like Microsoft.UI.Xaml.Binding is shown in the header rather than evaluated.
Provided binding does work in other normal cases, and according to the source code, I guess this issue is because DataGridColumn.Header has no corresponding DependencyProperty.
Describe the solution
This could be solved by
adding a dependency property for DataGridColumn.Header, and then
headerCell having another binding its Content to this property.
Alternatives
No response
Additional info
No response
Help us help you
None
The text was updated successfully, but these errors were encountered:
Hello, 'Qiu233! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!
Describe the problem
For now,
DataGridColumn.Header
is just a thin wrapper overheaderCell.Content = _header
.When only values set, everything works fine. But when a binding is provided by some
MarkupExtension
, something likeMicrosoft.UI.Xaml.Binding
is shown in the header rather than evaluated.Provided binding does work in other normal cases, and according to the source code, I guess this issue is because
DataGridColumn.Header
has no correspondingDependencyProperty
.Describe the solution
This could be solved by
DataGridColumn.Header
, and thenheaderCell
having another binding itsContent
to this property.Alternatives
No response
Additional info
No response
Help us help you
None
The text was updated successfully, but these errors were encountered: