File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1717 <DataTemplate x : Key =" DocumentTemplate"
1818 x : DataType =" x:String" >
1919 <renderer : MarkdownTextBlock Background =" Transparent"
20- LinkClicked =" MarkdownTextBlock_LinkClicked"
20+ win : LinkClicked =" MarkdownTextBlock_LinkClicked"
2121 Text =" {Binding}"
2222 TextWrapping =" WrapWholeWords" />
2323 </DataTemplate >
Original file line number Diff line number Diff line change 77using Windows . Storage ;
88using Windows . System ;
99
10+ #if ! HAS_UNO
1011#if ! WINAPPSDK
1112using Microsoft . Toolkit . Uwp . UI . Controls ;
1213#else
1314using CommunityToolkit . WinUI . UI . Controls ;
1415#endif
16+ #endif
1517
1618namespace CommunityToolkit . Labs . Shared . Renderers ;
1719
@@ -186,6 +188,7 @@ private static async Task<string> GetDocumentationFileContents(ToolkitFrontMatte
186188 }
187189 }
188190
191+ #if ! HAS_UNO
189192 private async void MarkdownTextBlock_LinkClicked ( object sender , LinkClickedEventArgs e )
190193 {
191194 if ( ! Uri . IsWellFormedUriString ( e . Link , UriKind . Absolute ) )
@@ -203,4 +206,5 @@ private async void MarkdownTextBlock_LinkClicked(object sender, LinkClickedEvent
203206 await Launcher . LaunchUriAsync ( new Uri ( e . Link ) ) ;
204207 }
205208 }
209+ #endif
206210}
You can’t perform that action at this time.
0 commit comments