Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions Sample Applications/WPFGallery/Views/Layout/BorderPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
mc:Ignorable="d">

<Page.Resources>
<Style TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap"/>
</Style>
</Page.Resources>

<Grid x:Name="ContentPagePane" Height="Auto">

<Grid.RowDefinitions>
Expand Down
6 changes: 6 additions & 0 deletions Sample Applications/WPFGallery/Views/Layout/GridPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
Title="GridPage"
Foreground="{DynamicResource TextFillColorPrimaryBrush}">

<Page.Resources>
<Style TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap"/>
</Style>
</Page.Resources>

<Grid x:Name="ContentPagePane" Height="Auto">

<Grid.RowDefinitions>
Expand Down
4 changes: 2 additions & 2 deletions Sample Applications/WPFGallery/Views/Layout/GroupBoxPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Header=&quot;User Information&quot; &#10;
HorizontalAlignment=&quot;Left&quot; &#10;
VerticalAlignment=&quot;Center&quot; &#10;
Width=&quot;400&quot;&gt;&#10;
MaxWidth=&quot;400&quot;&gt;&#10;
&lt;StackPanel&gt;&#10;
&lt;StackPanel Orientation=&quot;Horizontal&quot;&gt;&#10;
&lt;TextBlock Width=&quot;100&quot; Text=&quot;Name:&quot; /&gt;&#10;
Expand All @@ -42,7 +42,7 @@
Header="User Information"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Width="400">
MaxWidth="400">
<StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Width="100" Text="Name:" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
Title="ResizeGripPage"
Foreground="{DynamicResource TextFillColorPrimaryBrush}">

<Page.Resources>
<Style TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap"/>
</Style>
</Page.Resources>

<Grid>
<Grid x:Name="ContentPagePane" Height="Auto">
<Grid.RowDefinitions>
Expand Down
Loading