Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ScrollViewer to MarkdownTextBlock xaml and c# code example view "… #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions samples/MvvmSampleUwp/Controls/InteractiveSample.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,21 @@
<ContentPresenter Margin="0,4,0,12" Content="{TemplateBinding Content}" />
</PivotItem>
<PivotItem Header="XAML">
<controls:MarkdownTextBlock
Margin="-8,4,0,0"
Padding="8"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="0"
ScrollViewer.VerticalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollMode="Disabled"
Text="{TemplateBinding XamlCode}" />
<ScrollViewer>
<controls:MarkdownTextBlock
Margin="-8,4,0,0"
Padding="8"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="0"
ScrollViewer.VerticalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollMode="Disabled"
Text="{TemplateBinding XamlCode}" />
</ScrollViewer>
</PivotItem>
<PivotItem Header="C#">
<PivotItem
Header="C#">
<ScrollViewer>
<controls:MarkdownTextBlock
Margin="-8,4,0,0"
Padding="8,8,0,0"
Expand All @@ -56,6 +60,7 @@
ScrollViewer.VerticalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollMode="Disabled"
Text="{TemplateBinding CSharpCode}" />
</ScrollViewer>
</PivotItem>
</Pivot>
</Grid>
Expand Down