VisualStudioXAML网站。Xaml赢得';t载荷

VisualStudioXAML网站。Xaml赢得';t载荷,xaml,Xaml,以下.aspx页面: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Vowels.aspx.cs" Inherits="XMLPraktijkOpdrachtJavascript.Vowels" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html

以下.aspx页面:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Vowels.aspx.cs" Inherits="XMLPraktijkOpdrachtJavascript.Vowels" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
        <title>Vowels</title>
        <script type="text/javascript" src="Javascript/Vowels.js"></script>
    </head>
    <body>
        <object id="VowelsPage" width="100%" height="100%" type="application/x-silverlight">                
            <param name="source" value="Xaml/Vowels.xaml"/>             
        </object>                   
    </body>
</html>

元音
使用此xaml文件:

(在这里发布有点长)

但我的页面根本无法加载。上面写着白色。但是,如果我注释掉第20行中的所有内容,它确实有效(即:执行其余代码)


有什么问题,或者有没有像样的Xaml调试器?因为Visual Studio不允许您在xaml文件中放置断点。

您能更改此设置吗

TargetType="{x:Type TextBlock}"

而且你还需要删除

<Setter Property="Background" Value="#FF3B596E"/>
<Setter Property="Background" Value="#FF3B5940"/>

改变

<Setter Property="FontSize" Value="24px"/>
<Setter Property="FontSize" Value="14px"/>
<Setter Property="FontSize" Value="14px"/>


完整的xaml脚本如下所示

<?xml version="1.0" encoding="UTF-8"?>
<Grid
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

  Loaded="OnLoaded">

    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*"/>
        <ColumnDefinition Width="600"/>
        <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>

    <Grid.Background>
        <LinearGradientBrush>
            <GradientStop Color="Red"/>
            <GradientStop Color="#FF3B596E" Offset="1"/>
        </LinearGradientBrush>
    </Grid.Background>
    <Grid Grid.Column="1" Grid.Row="1">
        <Grid.Resources>
            <Style x:Key="TitleText"
             TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Segoe Black"/>
                <Setter Property="FontSize" Value="24"/>
                <Setter Property="Foreground" Value="MidnightBlue"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="VerticalAlignment" Value="Center"/>
            </Style>
            <Style x:Key="LabelText"
             TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Segoe Black"/>
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="Foreground" Value="#FFB3B4C1"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="VerticalAlignment" Value="Center"/>

            </Style>
            <Style x:Key="ValueText"
             TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Segoe Black"/>
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="Foreground" Value="Ivory"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="VerticalAlignment" Value="Center"/>

            </Style>
        </Grid.Resources>
        <Grid.Background>
            <LinearGradientBrush>
                <GradientStop Color="#93C5E8"/>
                <GradientStop Color="#3B596E" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="70"/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <TextBlock Grid.ColumnSpan="6" Style="{StaticResource TitleText}">
                    Vowel Details
        </TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="1" Style="{StaticResource LabelText}">Strings with frequency &gt; 50</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="4"
           Name="btnSort50"/>
        <TextBlock Grid.Column="1" Grid.Row="1" Style="{StaticResource ValueText}">128</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="1" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="1" Style="{StaticResource ValueText}">51</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="2" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="2" Style="{StaticResource ValueText}">12</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="3" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="3" Style="{StaticResource ValueText}">22</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="4" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="4" Style="{StaticResource ValueText}">7</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="5" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="5" Style="{StaticResource ValueText}">7</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="6" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="6" Style="{StaticResource ValueText}">3</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="1" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="1" Style="{StaticResource ValueText}">52</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="2" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="2" Style="{StaticResource ValueText}">7</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="3" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="3" Style="{StaticResource ValueText}">27</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="4" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="4" Style="{StaticResource ValueText}">5</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="5" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="5" Style="{StaticResource ValueText}">9</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="6" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="6" Style="{StaticResource ValueText}">4</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="7" Style="{StaticResource LabelText}">Strings with frequency &gt; 40</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="10"
           Name="btnSort40"/>
        <TextBlock Grid.Column="1" Grid.Row="7" Style="{StaticResource ValueText}">182</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="7" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="7" Style="{StaticResource ValueText}">78</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="8" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="8" Style="{StaticResource ValueText}">15</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="9" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="9" Style="{StaticResource ValueText}">36</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="10" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="10" Style="{StaticResource ValueText}">13</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="11" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="11" Style="{StaticResource ValueText}">10</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="12" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="12" Style="{StaticResource ValueText}">4</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="7" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="7" Style="{StaticResource ValueText}">75</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="8" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="8" Style="{StaticResource ValueText}">14</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="9" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="9" Style="{StaticResource ValueText}">38</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="10" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="10" Style="{StaticResource ValueText}">8</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="11" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="11" Style="{StaticResource ValueText}">10</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="12" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="12" Style="{StaticResource ValueText}">5</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="13" Style="{StaticResource LabelText}">Strings with frequency &gt; 30</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="16"
           Name="btnSort30"/>
        <TextBlock Grid.Column="1" Grid.Row="13" Style="{StaticResource ValueText}">247</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="13" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="13" Style="{StaticResource ValueText}">100</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="14" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="14" Style="{StaticResource ValueText}">18</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="15" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="15" Style="{StaticResource ValueText}">48</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="16" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="16" Style="{StaticResource ValueText}">19</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="17" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="17" Style="{StaticResource ValueText}">11</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="18" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="18" Style="{StaticResource ValueText}">4</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="13" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="13" Style="{StaticResource ValueText}">103</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="14" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="14" Style="{StaticResource ValueText}">19</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="15" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="15" Style="{StaticResource ValueText}">55</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="16" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="16" Style="{StaticResource ValueText}">10</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="17" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="17" Style="{StaticResource ValueText}">13</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="18" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="18" Style="{StaticResource ValueText}">6</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="19" Style="{StaticResource LabelText}">Strings with frequency &gt; 20</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="22"
           Name="btnSort20"/>
        <TextBlock Grid.Column="1" Grid.Row="19" Style="{StaticResource ValueText}">392</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="19" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="19" Style="{StaticResource ValueText}">170</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="20" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="20" Style="{StaticResource ValueText}">34</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="21" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="21" Style="{StaticResource ValueText}">77</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="22" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="22" Style="{StaticResource ValueText}">29</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="23" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="23" Style="{StaticResource ValueText}">21</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="24" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="24" Style="{StaticResource ValueText}">9</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="19" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="19" Style="{StaticResource ValueText}">161</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="20" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="20" Style="{StaticResource ValueText}">27</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="21" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="21" Style="{StaticResource ValueText}">81</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="22" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="22" Style="{StaticResource ValueText}">24</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="23" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="23" Style="{StaticResource ValueText}">20</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="24" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="24" Style="{StaticResource ValueText}">9</TextBlock>
    </Grid>
</Grid>

元音细节
频率为50的字符串
128
以元音开头
51
A.
12
E
22
我
7.
o
7.
U
3.
以元音结尾
52
A.
7.
E
27
我
5.
o
9
U
4.
频率为40的字符串
182
以元音开头
78
A.
15
E
36
我
13
o
10
U
4.
以元音结尾
75
A.
14
E
38
我
8.
o
10
U
5.
频率为30的字符串
247
以元音开头
100
A.
18
E
48
我
19
o
11
U
4.
以元音结尾
103
A.
19
E
55
我
10
o
13
U
6.
频率为20的字符串
392
以元音开头
170
A.
34
E
77
我
29
o
21
U
9
以元音结尾
161
A.
27
E
81
我
24
o
20
U
9

谢谢您的帮助,但不幸的是,这并不能解决问题。页面保持完全白色,并且不会触发我的加载事件。是否有其他替代方法?因为我需要有这种颜色的背景。你的页面左下角有黄色警告图标吗?如果是,错误是什么?此外,您的文本块不能有背景色,您需要将文本块更改为标签。不,没有黄色或红色警告。一切都很好。我发现问题出在按钮上,但silverlight甚至无法识别简单的,页面也无法加载。好的,看起来您有参考问题,您是否可以检查是否有此程序集System.Windows.Controls?
<Setter Property="FontSize" Value="24"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontSize" Value="14"/>
<?xml version="1.0" encoding="UTF-8"?>
<Grid
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

  Loaded="OnLoaded">

    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*"/>
        <ColumnDefinition Width="600"/>
        <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>

    <Grid.Background>
        <LinearGradientBrush>
            <GradientStop Color="Red"/>
            <GradientStop Color="#FF3B596E" Offset="1"/>
        </LinearGradientBrush>
    </Grid.Background>
    <Grid Grid.Column="1" Grid.Row="1">
        <Grid.Resources>
            <Style x:Key="TitleText"
             TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Segoe Black"/>
                <Setter Property="FontSize" Value="24"/>
                <Setter Property="Foreground" Value="MidnightBlue"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="VerticalAlignment" Value="Center"/>
            </Style>
            <Style x:Key="LabelText"
             TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Segoe Black"/>
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="Foreground" Value="#FFB3B4C1"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="VerticalAlignment" Value="Center"/>

            </Style>
            <Style x:Key="ValueText"
             TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Segoe Black"/>
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="Foreground" Value="Ivory"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="VerticalAlignment" Value="Center"/>

            </Style>
        </Grid.Resources>
        <Grid.Background>
            <LinearGradientBrush>
                <GradientStop Color="#93C5E8"/>
                <GradientStop Color="#3B596E" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="70"/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <TextBlock Grid.ColumnSpan="6" Style="{StaticResource TitleText}">
                    Vowel Details
        </TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="1" Style="{StaticResource LabelText}">Strings with frequency &gt; 50</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="4"
           Name="btnSort50"/>
        <TextBlock Grid.Column="1" Grid.Row="1" Style="{StaticResource ValueText}">128</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="1" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="1" Style="{StaticResource ValueText}">51</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="2" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="2" Style="{StaticResource ValueText}">12</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="3" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="3" Style="{StaticResource ValueText}">22</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="4" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="4" Style="{StaticResource ValueText}">7</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="5" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="5" Style="{StaticResource ValueText}">7</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="6" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="6" Style="{StaticResource ValueText}">3</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="1" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="1" Style="{StaticResource ValueText}">52</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="2" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="2" Style="{StaticResource ValueText}">7</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="3" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="3" Style="{StaticResource ValueText}">27</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="4" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="4" Style="{StaticResource ValueText}">5</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="5" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="5" Style="{StaticResource ValueText}">9</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="6" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="6" Style="{StaticResource ValueText}">4</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="7" Style="{StaticResource LabelText}">Strings with frequency &gt; 40</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="10"
           Name="btnSort40"/>
        <TextBlock Grid.Column="1" Grid.Row="7" Style="{StaticResource ValueText}">182</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="7" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="7" Style="{StaticResource ValueText}">78</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="8" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="8" Style="{StaticResource ValueText}">15</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="9" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="9" Style="{StaticResource ValueText}">36</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="10" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="10" Style="{StaticResource ValueText}">13</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="11" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="11" Style="{StaticResource ValueText}">10</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="12" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="12" Style="{StaticResource ValueText}">4</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="7" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="7" Style="{StaticResource ValueText}">75</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="8" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="8" Style="{StaticResource ValueText}">14</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="9" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="9" Style="{StaticResource ValueText}">38</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="10" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="10" Style="{StaticResource ValueText}">8</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="11" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="11" Style="{StaticResource ValueText}">10</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="12" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="12" Style="{StaticResource ValueText}">5</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="13" Style="{StaticResource LabelText}">Strings with frequency &gt; 30</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="16"
           Name="btnSort30"/>
        <TextBlock Grid.Column="1" Grid.Row="13" Style="{StaticResource ValueText}">247</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="13" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="13" Style="{StaticResource ValueText}">100</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="14" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="14" Style="{StaticResource ValueText}">18</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="15" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="15" Style="{StaticResource ValueText}">48</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="16" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="16" Style="{StaticResource ValueText}">19</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="17" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="17" Style="{StaticResource ValueText}">11</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="18" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="18" Style="{StaticResource ValueText}">4</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="13" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="13" Style="{StaticResource ValueText}">103</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="14" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="14" Style="{StaticResource ValueText}">19</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="15" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="15" Style="{StaticResource ValueText}">55</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="16" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="16" Style="{StaticResource ValueText}">10</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="17" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="17" Style="{StaticResource ValueText}">13</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="18" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="18" Style="{StaticResource ValueText}">6</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="19" Style="{StaticResource LabelText}">Strings with frequency &gt; 20</TextBlock>
        <Button Height="23" HorizontalAlignment="Stretch" VerticalAlignment="Center"
           Content="Sort"
           Grid.Column="0"
           Grid.Row="22"
           Name="btnSort20"/>
        <TextBlock Grid.Column="1" Grid.Row="19" Style="{StaticResource ValueText}">392</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="19" Style="{StaticResource LabelText}">Starting with a Vowel</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="19" Style="{StaticResource ValueText}">170</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="20" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="20" Style="{StaticResource ValueText}">34</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="21" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="21" Style="{StaticResource ValueText}">77</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="22" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="22" Style="{StaticResource ValueText}">29</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="23" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="23" Style="{StaticResource ValueText}">21</TextBlock>
        <TextBlock Grid.Column="2" Grid.Row="24" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="3" Grid.Row="24" Style="{StaticResource ValueText}">9</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="19" Style="{StaticResource LabelText}">Ending with a Vowel</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="19" Style="{StaticResource ValueText}">161</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="20" Style="{StaticResource LabelText}">a</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="20" Style="{StaticResource ValueText}">27</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="21" Style="{StaticResource LabelText}">e</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="21" Style="{StaticResource ValueText}">81</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="22" Style="{StaticResource LabelText}">i</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="22" Style="{StaticResource ValueText}">24</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="23" Style="{StaticResource LabelText}">o</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="23" Style="{StaticResource ValueText}">20</TextBlock>
        <TextBlock Grid.Column="4" Grid.Row="24" Style="{StaticResource LabelText}">u</TextBlock>
        <TextBlock Grid.Column="5" Grid.Row="24" Style="{StaticResource ValueText}">9</TextBlock>
    </Grid>
</Grid>