Skip to content

Commit cb8bbaa

Browse files
committed
Fully qualify TextDecorations on WinUI 3
1 parent 8452130 commit cb8bbaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/MarkdownTextBlock/src/TextElements/MyEmphasisInline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void SetItalic()
6969
public void SetStrikeThrough()
7070
{
7171
#if WINUI3
72-
_span.TextDecorations = TextDecorations.Strikethrough;
72+
_span.TextDecorations = Windows.UI.Text.TextDecorations.Strikethrough;
7373
#elif WINUI2
7474
_span.TextDecorations = Windows.UI.Text.TextDecorations.Strikethrough;
7575
#endif

components/MarqueeText/src/MarqueeText.Properties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public MarqueeDirection Direction
9999
/// Gets or sets a value that indicates what decorations are applied to the text.
100100
/// </summary>
101101
#if WINUI3
102-
public TextDecorations TextDecorations
102+
public Windows.UI.Text.TextDecorations TextDecorations
103103
#elif WINUI2
104104
public Windows.UI.Text.TextDecorations TextDecorations
105105
#endif

0 commit comments

Comments
 (0)