From 90565452d43004d5f09c9c13c073023838f48286 Mon Sep 17 00:00:00 2001 From: Zach Putman Date: Fri, 3 Nov 2023 10:19:06 -0700 Subject: [PATCH] Update MaterialDesignTheme.Chip.xaml fixed bug where ContentStringFormat was not bound to the correct property --- MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml b/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml index 2fec13bfbe..5d6aabc3c8 100644 --- a/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml +++ b/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml @@ -134,7 +134,7 @@ Margin="8,0,12,0" VerticalAlignment="Center" Content="{TemplateBinding Content}" - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" IsTabStop="False" /> @@ -259,7 +259,7 @@ Margin="8,0,12,0" VerticalAlignment="Center" Content="{TemplateBinding Content}" - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" IsTabStop="False" />