|
1 |
| -<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> |
| 1 | +<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> |
2 | 2 | <Page x:Class="MarkdownTextBlockExperiment.Samples.MarkdownTextBlockCustomSample"
|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
4 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
27 | 27 | </Grid.ColumnDefinitions>
|
28 | 28 | <controls:MarkdownTextBlock x:Name="MarkdownTextBlock1"
|
29 | 29 | Grid.Column="0"
|
| 30 | + Config="{x:Bind LiveMarkdownConfig, Mode=OneTime}" |
| 31 | + DisableHtml="{x:Bind DisableHtml, Mode=OneWay}" |
| 32 | + Text="{x:Bind MarkdownTextBox.Text, Mode=OneWay}" |
| 33 | + UseAutoLinks="{x:Bind UseAutoLinks, Mode=OneWay}" |
30 | 34 | UseEmphasisExtras="{x:Bind UseEmphasisExtras, Mode=OneWay}"
|
31 |
| - UsePipeTables="{x:Bind UsePipeTables, Mode=OneWay}" |
32 | 35 | UseListExtras="{x:Bind UseListExtras, Mode=OneWay}"
|
33 |
| - UseTaskLists="{x:Bind UseTaskLists, Mode=OneWay}" |
34 |
| - UseAutoLinks="{x:Bind UseAutoLinks, Mode=OneWay}" |
35 |
| - DisableHtml="{x:Bind DisableHtml, Mode=OneWay}" |
| 36 | + UsePipeTables="{x:Bind UsePipeTables, Mode=OneWay}" |
36 | 37 | UseSoftlineBreakAsHardlineBreak="{x:Bind UseSoftlineBreakAsHardlineBreak, Mode=OneWay}"
|
37 |
| - Config="{x:Bind LiveMarkdownConfig, Mode=OneTime}" |
38 |
| - Text="{x:Bind MarkdownTextBox.Text, Mode=OneWay}" /> |
| 38 | + UseTaskLists="{x:Bind UseTaskLists, Mode=OneWay}" /> |
39 | 39 | <TextBox x:Name="MarkdownTextBox"
|
40 | 40 | Grid.Column="1"
|
41 | 41 | AcceptsReturn="True" />
|
|
0 commit comments