MaterialDesign Chips and Content binding #3291
-
Hi, <GridViewColumn Header="Mese" Width="200">
<GridViewColumn.HeaderContainerStyle>
<Style TargetType="{x:Type GridViewColumnHeader}">
<Setter Property="HorizontalContentAlignment" Value="Left" />
</Style>
</GridViewColumn.HeaderContainerStyle>
<GridViewColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<mdix:Chip Content="{Binding meseAnno}" Icon="{Binding iniziale}" Width="180" Foreground="Black" FontFamily="Century Gothic" FontSize="14"/>
</StackPanel>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn> Data are loaded without errors but every Chips results empty, without text and Icon, simply its shape. Roberto |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Sorry for code indentation, I was not able to put it in the right way :( |
Beta Was this translation helpful? Give feedback.
-
Thanks for formatting my code. |
Beta Was this translation helpful? Give feedback.
-
I think I found the problem: it fixed after I updated MaterialDesign to 4.9.0 from 4.8.1. |
Beta Was this translation helpful? Give feedback.
I think I found the problem: it fixed after I updated MaterialDesign to 4.9.0 from 4.8.1.
Maybe a corrupted (previous) installation?
By the way, now it works.
Thank you, regards.