diff --git a/src/Controls/src/Core/Button/Button.Mapper.cs b/src/Controls/src/Core/Button/Button.Mapper.cs index dd646238f709..53bbdb65d5e9 100644 --- a/src/Controls/src/Core/Button/Button.Mapper.cs +++ b/src/Controls/src/Core/Button/Button.Mapper.cs @@ -28,7 +28,7 @@ public partial class Button #endif ButtonHandler.Mapper.ReplaceMapping(nameof(Text), MapText); - ButtonHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + ButtonHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapText); ButtonHandler.Mapper.ReplaceMapping(nameof(Button.LineBreakMode), MapLineBreakMode); } @@ -44,16 +44,5 @@ public static void MapContentLayout(IButtonHandler handler, Button button) public static void MapContentLayout(ButtonHandler handler, Button button) => MapContentLayout((IButtonHandler)handler, button); - - static void MapTextTransform(IButtonHandler handler, Button button) - { - if (button.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. - return; - } - - MapText(handler, button); - } } } diff --git a/src/Controls/src/Core/Button/Button.iOS.cs b/src/Controls/src/Core/Button/Button.iOS.cs index f97baf77da31..d1341a27f7e6 100644 --- a/src/Controls/src/Core/Button/Button.iOS.cs +++ b/src/Controls/src/Core/Button/Button.iOS.cs @@ -449,12 +449,6 @@ private static void MapPadding(IButtonHandler handler, Button button) public static void MapText(IButtonHandler handler, Button button) { handler.PlatformView?.UpdateText(button); - - if (!handler.IsConnectingHandler()) - { - // Any text update requires that we update any attributed string formatting - ButtonHandler.MapFormatting(handler, button); - } } internal static void MapBorderWidth(IButtonHandler handler, Button button) diff --git a/src/Controls/src/Core/Editor/Editor.Android.cs b/src/Controls/src/Core/Editor/Editor.Android.cs index 3c2ea82658a5..ad20b36d33e4 100644 --- a/src/Controls/src/Core/Editor/Editor.Android.cs +++ b/src/Controls/src/Core/Editor/Editor.Android.cs @@ -34,17 +34,5 @@ public static void MapText(EditorHandler2 handler, Editor editor) Platform.EditTextExtensions.UpdateText(handler.PlatformView, editor); } - - // Material3 specific overload for EditorHandler2 - internal static void MapTextTransform(EditorHandler2 handler, Editor editor) - { - if (editor.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. - return; - } - - MapText(handler, editor); - } } } diff --git a/src/Controls/src/Core/Editor/Editor.Mapper.cs b/src/Controls/src/Core/Editor/Editor.Mapper.cs index a41a5b1252b8..e76abb40f447 100644 --- a/src/Controls/src/Core/Editor/Editor.Mapper.cs +++ b/src/Controls/src/Core/Editor/Editor.Mapper.cs @@ -13,13 +13,13 @@ public partial class Editor EditorHandler.Mapper.ReplaceMapping(PlatformConfiguration.WindowsSpecific.InputView.DetectReadingOrderFromContentProperty.PropertyName, MapDetectReadingOrderFromContent); #endif EditorHandler.Mapper.ReplaceMapping(nameof(Text), MapText); - EditorHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + EditorHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapText); #if ANDROID if (RuntimeFeature.IsMaterial3Enabled) { EditorHandler2.Mapper.ReplaceMapping(nameof(Text), MapText); - EditorHandler2.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + EditorHandler2.Mapper.ReplaceMapping(nameof(TextTransform), MapText); EditorHandler2.Mapper.AppendToMapping(nameof(VisualElement.IsFocused), InputView.MapIsFocused); EditorHandler2.CommandMapper.PrependToMapping(nameof(IEditor.Focus), InputView.MapFocus); } @@ -38,16 +38,5 @@ public partial class Editor EditorHandler.CommandMapper.PrependToMapping(nameof(IEditor.Focus), InputView.MapFocus); #endif } - - static void MapTextTransform(IEditorHandler handler, Editor editor) - { - if (editor.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. - return; - } - - MapText(handler, editor); - } } -} +} \ No newline at end of file diff --git a/src/Controls/src/Core/Editor/Editor.iOS.cs b/src/Controls/src/Core/Editor/Editor.iOS.cs index 19f05321a85f..93b1319df8f3 100644 --- a/src/Controls/src/Core/Editor/Editor.iOS.cs +++ b/src/Controls/src/Core/Editor/Editor.iOS.cs @@ -19,11 +19,8 @@ public static void MapText(IEditorHandler handler, Editor editor) { Platform.TextExtensions.UpdateText(handler.PlatformView, editor); - if (!handler.IsConnectingHandler()) - { - // Any text changes in the editor field require recalculating the CharacterSpacing by regenerating the attributed string to properly apply the spacing and override the current text formatting. - handler?.UpdateValue(nameof(CharacterSpacing)); - } + // Any text changes in the editor field require recalculating the CharacterSpacing by regenerating the attributed string to properly apply the spacing and override the current text formatting. + handler?.UpdateValue(nameof(CharacterSpacing)); } } } diff --git a/src/Controls/src/Core/Entry/Entry.Android.cs b/src/Controls/src/Core/Entry/Entry.Android.cs index 7757f73b206d..a37ffeebfee0 100644 --- a/src/Controls/src/Core/Entry/Entry.Android.cs +++ b/src/Controls/src/Core/Entry/Entry.Android.cs @@ -56,17 +56,5 @@ public static void MapText(EntryHandler2 handler, Entry entry) Platform.EditTextExtensions.UpdateText(handler.PlatformView.EditText, entry); } - - // Material3 specific overload for EntryHandler2 - internal static void MapTextTransform(EntryHandler2 handler, Entry entry) - { - if (entry.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. - return; - } - - MapText(handler, entry); - } } } diff --git a/src/Controls/src/Core/Entry/Entry.Mapper.cs b/src/Controls/src/Core/Entry/Entry.Mapper.cs index fbb3a35bf679..1d3d9285c740 100644 --- a/src/Controls/src/Core/Entry/Entry.Mapper.cs +++ b/src/Controls/src/Core/Entry/Entry.Mapper.cs @@ -18,7 +18,7 @@ public partial class Entry EntryHandler.Mapper.ReplaceMapping(PlatformConfiguration.iOSSpecific.Entry.AdjustsFontSizeToFitWidthProperty.PropertyName, MapAdjustsFontSizeToFitWidth); #endif EntryHandler.Mapper.ReplaceMapping(nameof(Text), MapText); - EntryHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + EntryHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapText); // Material3 Entry Handler mappings #if ANDROID @@ -26,7 +26,7 @@ public partial class Entry { EntryHandler2.Mapper.ReplaceMapping(PlatformConfiguration.AndroidSpecific.Entry.ImeOptionsProperty.PropertyName, MapImeOptions); EntryHandler2.Mapper.ReplaceMapping(nameof(Text), MapText); - EntryHandler2.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + EntryHandler2.Mapper.ReplaceMapping(nameof(TextTransform), MapText); EntryHandler2.Mapper.AppendToMapping(nameof(VisualElement.IsFocused), InputView.MapIsFocused); EntryHandler2.Mapper.AppendToMapping(nameof(VisualElement.IsVisible), InputView.MapIsVisible); EntryHandler2.CommandMapper.PrependToMapping(nameof(IEntry.Focus), InputView.MapFocus); @@ -42,16 +42,5 @@ public partial class Entry EntryHandler.CommandMapper.PrependToMapping(nameof(IEntry.Focus), InputView.MapFocus); #endif } - - static void MapTextTransform(IEntryHandler handler, Entry entry) - { - if (entry.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. - return; - } - - MapText(handler, entry); - } } } diff --git a/src/Controls/src/Core/Entry/Entry.iOS.cs b/src/Controls/src/Core/Entry/Entry.iOS.cs index 20407ae151b3..25a6281483a1 100644 --- a/src/Controls/src/Core/Entry/Entry.iOS.cs +++ b/src/Controls/src/Core/Entry/Entry.iOS.cs @@ -16,14 +16,7 @@ public static void MapAdjustsFontSizeToFitWidth(IEntryHandler handler, Entry ent public static void MapText(IEntryHandler handler, Entry entry) { Platform.TextExtensions.UpdateText(handler.PlatformView, entry); - - if (!handler.IsConnectingHandler()) - { - // If we're not connecting the handler, we need to update the text formatting - // This is because the text may have changed, and we need to ensure that - // any attributed string formatting is applied correctly. - EntryHandler.MapFormatting(handler, entry); - } + EntryHandler.MapFormatting(handler, entry); } public static void MapCursorColor(EntryHandler handler, Entry entry) => diff --git a/src/Controls/src/Core/Label/Label.Mapper.cs b/src/Controls/src/Core/Label/Label.Mapper.cs index 3f116231a103..eeaeff7464a1 100644 --- a/src/Controls/src/Core/Label/Label.Mapper.cs +++ b/src/Controls/src/Core/Label/Label.Mapper.cs @@ -61,10 +61,7 @@ static void MapTextTransform(ILabelHandler handler, Label label) => static void MapFormattedText(ILabelHandler handler, Label label) { if (label.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. return; - } MapText(handler, label); } @@ -170,10 +167,7 @@ static void MapTextColor(ILabelHandler handler, Label label, Action formattedString.ToNSAttributedString(fontManager, LineBreakMode.WordWrap, defaultLineHeight, defaultHorizontalAlignment, defaultFont, defaultColor, defaultTextTransform); - - internal static NSAttributedString ToNSAttributedString( - this FormattedString formattedString, - IFontManager fontManager, - LineBreakMode defaultLineBreakMode, - double defaultLineHeight = -1, - TextAlignment defaultHorizontalAlignment = TextAlignment.Start, - Font? defaultFont = null, - Color? defaultColor = null, - TextTransform defaultTextTransform = TextTransform.Default) - => formattedString.ToNSAttributedString(fontManager, defaultLineHeight, defaultHorizontalAlignment, defaultFont, defaultColor, defaultTextTransform, defaultLineBreakMode, defaultCharacterSpacing: 0d); + => formattedString.ToNSAttributedString(fontManager, defaultLineHeight, defaultHorizontalAlignment, defaultFont, defaultColor, defaultTextTransform, LineBreakMode.WordWrap, defaultCharacterSpacing: 0d); internal static NSAttributedString ToNSAttributedString( this FormattedString formattedString, @@ -93,18 +82,7 @@ public static NSAttributedString ToNSAttributedString( Font? defaultFont = null, Color? defaultColor = null, TextTransform defaultTextTransform = TextTransform.Default) - => span.ToNSAttributedString(fontManager, defaultLineHeight, defaultHorizontalAlignment, defaultFont, defaultColor, defaultTextTransform, defaultLineBreakMode: LineBreakMode.WordWrap); - - internal static NSAttributedString ToNSAttributedString( - this Span span, - IFontManager fontManager, - LineBreakMode defaultLineBreakMode, - double defaultLineHeight = -1, - TextAlignment defaultHorizontalAlignment = TextAlignment.Start, - Font? defaultFont = null, - Color? defaultColor = null, - TextTransform defaultTextTransform = TextTransform.Default) - => span.ToNSAttributedString(fontManager, defaultLineHeight, defaultHorizontalAlignment, defaultFont, defaultColor, defaultTextTransform, defaultLineBreakMode, defaultCharacterSpacing: 0d); + => span.ToNSAttributedString(fontManager, defaultLineHeight, defaultHorizontalAlignment, defaultFont, defaultColor, defaultTextTransform, LineBreakMode.WordWrap, defaultCharacterSpacing: 0d); internal static NSAttributedString ToNSAttributedString( this Span span, @@ -114,7 +92,7 @@ internal static NSAttributedString ToNSAttributedString( Font? defaultFont, Color? defaultColor, TextTransform defaultTextTransform, - LineBreakMode defaultLineBreakMode, + LineBreakMode lineBreakMode, double defaultCharacterSpacing = 0d) { var defaultFontSize = defaultFont?.Size ?? fontManager.DefaultFontSize; @@ -145,13 +123,14 @@ internal static NSAttributedString ToNSAttributedString( _ => UITextAlignment.Left }; - style.LineBreakMode = defaultLineBreakMode switch + style.LineBreakMode = lineBreakMode switch { LineBreakMode.NoWrap => UILineBreakMode.Clip, + LineBreakMode.WordWrap => UILineBreakMode.WordWrap, LineBreakMode.CharacterWrap => UILineBreakMode.CharacterWrap, LineBreakMode.HeadTruncation => UILineBreakMode.HeadTruncation, - LineBreakMode.MiddleTruncation => UILineBreakMode.MiddleTruncation, LineBreakMode.TailTruncation => UILineBreakMode.TailTruncation, + LineBreakMode.MiddleTruncation => UILineBreakMode.MiddleTruncation, _ => UILineBreakMode.WordWrap }; diff --git a/src/Controls/src/Core/SearchBar/SearchBar.Android.cs b/src/Controls/src/Core/SearchBar/SearchBar.Android.cs index ceecffdc069d..69b58ab1e216 100644 --- a/src/Controls/src/Core/SearchBar/SearchBar.Android.cs +++ b/src/Controls/src/Core/SearchBar/SearchBar.Android.cs @@ -23,17 +23,5 @@ public static void MapText(SearchBarHandler2 handler, SearchBar searchBar) Platform.EditTextExtensions.UpdateText(handler.PlatformView.EditText, searchBar); } - - // Material3 specific overload for SearchBarHandler2 - internal static void MapTextTransform(SearchBarHandler2 handler, SearchBar searchBar) - { - if (searchBar.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. - return; - } - - MapText(handler, searchBar); - } } } diff --git a/src/Controls/src/Core/SearchBar/SearchBar.Mapper.cs b/src/Controls/src/Core/SearchBar/SearchBar.Mapper.cs index d07705d9b029..d05efd265ec8 100644 --- a/src/Controls/src/Core/SearchBar/SearchBar.Mapper.cs +++ b/src/Controls/src/Core/SearchBar/SearchBar.Mapper.cs @@ -27,16 +27,16 @@ static SearchBar() { // Material3 SearchBar handler mappings SearchBarHandler2.Mapper.ReplaceMapping(nameof(Text), MapText); - SearchBarHandler2.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + SearchBarHandler2.Mapper.ReplaceMapping(nameof(TextTransform), MapText); } else { SearchBarHandler.Mapper.ReplaceMapping(nameof(Text), MapText); - SearchBarHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + SearchBarHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapText); } #else SearchBarHandler.Mapper.ReplaceMapping(nameof(Text), MapText); - SearchBarHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapTextTransform); + SearchBarHandler.Mapper.ReplaceMapping(nameof(TextTransform), MapText); #endif #if IOS || ANDROID @@ -47,16 +47,5 @@ static SearchBar() SearchBarHandler.CommandMapper.PrependToMapping(nameof(ISearchBar.Focus), InputView.MapFocus); #endif } - - static void MapTextTransform(ISearchBarHandler handler, SearchBar searchBar) - { - if (searchBar.IsConnectingHandler()) - { - // If we're connecting the handler, we don't want to map the text multiple times. - return; - } - - MapText(handler, searchBar); - } } } diff --git a/src/Controls/src/Core/SearchBar/SearchBar.iOS.cs b/src/Controls/src/Core/SearchBar/SearchBar.iOS.cs index dce3376bedf4..d140cae18130 100644 --- a/src/Controls/src/Core/SearchBar/SearchBar.iOS.cs +++ b/src/Controls/src/Core/SearchBar/SearchBar.iOS.cs @@ -17,13 +17,7 @@ public static void MapSearchBarStyle(ISearchBarHandler handler, SearchBar search public static void MapText(ISearchBarHandler handler, SearchBar searchBar) { Platform.SearchBarExtensions.UpdateText(handler.PlatformView, searchBar); - - // Any text update requires that we update any attributed string formatting. - // During handler connection these properties are applied by the normal mapper sweep after Text. - if (!handler.IsConnectingHandler()) - { - SearchBarHandler.MapFormatting(handler, searchBar); - } + SearchBarHandler.MapFormatting(handler, searchBar); } internal static void MapUserInteraction(ISearchBarHandler handler, SearchBar searchBar) diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAlignmentWithCharacterSpacing_VerifyVisualState.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAlignmentWithCharacterSpacing_VerifyVisualState.png index a5fbb8310252..833ca775a366 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAlignmentWithCharacterSpacing_VerifyVisualState.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAlignmentWithCharacterSpacing_VerifyVisualState.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAndVerticalAlignment_VerifyVisualState.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAndVerticalAlignment_VerifyVisualState.png index 13b78b3593c4..bea5c0c9f3df 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAndVerticalAlignment_VerifyVisualState.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_HorizontalAndVerticalAlignment_VerifyVisualState.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_IsPasswordWithHorizontalAlignment_VerifyVisualState.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_IsPasswordWithHorizontalAlignment_VerifyVisualState.png index e39a76abea31..66a89847c7ce 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_IsPasswordWithHorizontalAlignment_VerifyVisualState.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_IsPasswordWithHorizontalAlignment_VerifyVisualState.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_TextWithHorizontalAlignment_VerifyVisualState.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_TextWithHorizontalAlignment_VerifyVisualState.png index 548bd360975e..dd7834817299 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_TextWithHorizontalAlignment_VerifyVisualState.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Entry_TextWithHorizontalAlignment_VerifyVisualState.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png index 7f52e4244cf7..61f931fd9827 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png index 55bc6c377136..d8a5b3288460 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithTextAndFontSize.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithTextAndFontSize.png index d5916b7e6019..a5b3a0f176d3 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithTextAndFontSize.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android-notch-36/Material3Label_VerifyLabelWithTextAndFontSize.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png index 532816cabe9d..f91c145b6ad2 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation.png index 364591ddb4e7..7331ddcf7eee 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png index 8d380c79e0e9..b65379f5e1d2 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png differ diff --git a/src/Controls/tests/TestCases.HostApp/FeatureMatrix/Button/ButtonControlPage.xaml b/src/Controls/tests/TestCases.HostApp/FeatureMatrix/Button/ButtonControlPage.xaml index eccbb39ee844..e2ee55b2a38e 100644 --- a/src/Controls/tests/TestCases.HostApp/FeatureMatrix/Button/ButtonControlPage.xaml +++ b/src/Controls/tests/TestCases.HostApp/FeatureMatrix/Button/ButtonControlPage.xaml @@ -55,12 +55,7 @@ + Text="Clicked Event: "/>