<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:sp="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.StartPage"
      xmlns:vs="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.10.0"
      xmlns:my="clr-namespace:ModBuddy.StartPage;assembly=ModBuddy.StartPage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=33fbf2a429992735"
      mc:Ignorable="d" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="754" d:DesignWidth="804">

    <Grid.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Microsoft.VisualStudio.Shell.StartPage;component/Styles/startpageresources.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Grid.Resources>

    <Grid x:Name="LayoutRoot" VerticalAlignment="Stretch">

        <Grid.ColumnDefinitions>
            <!-- Left Hand Column -->
            <!-- This column is just wide enough to fit the Command Buttons and Start Page Options.
                 The Recent Project area is constrained to the width of the Commmand Buttons. -->
            <ColumnDefinition MinWidth="{Binding ElementName=commandButtonsGrid, Path=ActualWidth}" Width="3*" MaxWidth="330" />
            <!-- Gutter -->
            <ColumnDefinition Width="6"/>
            <!-- Allow main column to collapse to 0 -->
            <ColumnDefinition Width="7*" MinWidth="0"/>
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <!-- Logo-->
            <RowDefinition Height="130" />
            <!-- Main Content Area -->
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--Logo Image -->
        <!--Note: To reference files relative to this XAML file, use syntax like the following: <Image Source="{sp:StartPageRelative myImage.png}" .../> -->
        <Image Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Source="{sp:StartPageRelative Header_Left.png}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="353" />
        <Image Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Source="{sp:StartPageRelative Header_Right.png}" HorizontalAlignment="Right" VerticalAlignment="Top" Width="261" />

        <!--Left Column-->
        <Grid Width="Auto" Grid.Column="0" Margin="15,-25,0,15" VerticalAlignment="Stretch" Grid.RowSpan="1" Grid.Row="1" >
            <Grid.RowDefinitions>
                <!-- Command Buttons for New Projects -->
                <RowDefinition Height="Auto"/>
                <!-- MRU Row -->
                <RowDefinition Height="*"/>
                <!--Gutter at bottom of page -->
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>

            <!-- Command Buttons -->

            <Grid Name="commandButtonsGrid" MinWidth="270" Width="Auto" Grid.Row="0" Margin="0,15,0,30" HorizontalAlignment="Left">

                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="3"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="3"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="15"/>
                </Grid.ColumnDefinitions>

                <Border BorderBrush="Gray" Background="White" BorderThickness="1">
                    <StackPanel Grid.Row="0"  Grid.Column="0" Margin="0,0,0,0" Orientation="Vertical" MinWidth="270" Width="Auto" Grid.ColumnSpan="1">
                        <vs:ImageButton
                    Grid.Row="2"
                    Grid.Column="0"
                    x:Uid="NewProjectButton"
                    Margin="15,2,0,2"
                    Width="Auto" 
                    Content="New Mod..."
                    Style="{DynamicResource StartPage.ProjectCommand.ButtonStyle}"
                    Command="{x:Static sp:VSCommands.ExecuteCommand}" CommandParameter="File.NewProject"
                    ImageNormal="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/NewProject.png"
                    ImageHover="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/NewProjectMouseOver.png"
                    ImagePressed="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/NewProjectMouseDown.png">
                        </vs:ImageButton>

                        <vs:ImageButton
                    Grid.Row="4"
                    Grid.Column="0"
                    x:Uid="OpenProjectButton"
                    Margin="15,2,0,2"
                    Width="Auto"        
                    Content="Open Mod..."
                    Style="{DynamicResource StartPage.ProjectCommand.ButtonStyle}"
                    Command="{x:Static sp:VSCommands.ExecuteCommand}" CommandParameter="File.OpenProject"
                    ImageNormal="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/OpenProject.png"
                    ImageHover="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/OpenProjectMouseOver.png"
                    ImagePressed="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/OpenProjectMouseDown.png">
                        </vs:ImageButton>
                    </StackPanel>
                </Border>
            </Grid>

            <!-- Recent Projects Section -->
            <Grid Grid.Row="1" HorizontalAlignment="Left" Width="Auto">
                <Grid.RowDefinitions>
                    <!-- Heading -->
                    <RowDefinition Height="Auto" />
                    <!-- MRU Container -->
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>

                <!-- Recent Projects Heading-->
                <StackPanel Grid.Row="0"  Grid.Column="0" Grid.ColumnSpan="1" Margin="0,0,0,10" Orientation="Horizontal">
                    <TextBlock Text="Recent Mods" VerticalAlignment="Top" Margin="0,-2,0,0" Foreground="Black" FontSize="16" x:Uid="RecentProjects"/>
                    <Path VerticalAlignment="Center" Margin="6,0,0,0" Width="Auto" Height="1" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="{DynamicResource StartPageSeparatorKey}" Data="F1 M 0.5,0.5L 199.5,0.5"/>
                </StackPanel>

                <!-- MRU List Container -->
                <ScrollViewer Grid.Row="1" HorizontalAlignment="Stretch" Style="{DynamicResource StartPage.ScrollViewerStyle}" VerticalAlignment="Stretch"  VerticalScrollBarVisibility="Auto" Margin="0,0,0,0">

                    <!-- Uncomment this and remove my:FixedMruListBox once MruListBox has been fixed -->
                    <!--<sp:MruListBox 
                        DataContext="{Binding RecentProjects}" 
                        ItemsSource="{Binding Path=Items}"
                        Background="Transparent"
                        BorderThickness="0"
                        AutomationProperties.AutomationId="MruList"/>-->
                    <Border Background="White" BorderBrush="Gray" BorderThickness="1">
                        <my:FixedMruListbox 
                        DTE="{Binding DTE}"
                        ItemsSource="{Binding Path=RecentProjects.Items}"
                        Background="Transparent"
                        BorderThickness="0" />
                    </Border>
                </ScrollViewer>

            </Grid>

            <!-- Start Page Options -->
            <StackPanel Margin="0,5,0,0" Grid.Column="0" Grid.ColumnSpan="1" Grid.Row="2">
                <!--<WrapPanel Height="34">
                    <Ellipse Fill="Red" Height="10" Margin="10" Stroke="Black" Width="10" />
                    <Label Content="Community hub is Down." Height="26" Width="146" />
                </WrapPanel>-->
                <CheckBox x:Uid="AutoClose_Option" Content="Close page after project load" IsChecked="{Binding ClosePageOnOpenProject, Mode=TwoWay}" Margin="0,0,2,0" />
                <CheckBox x:Uid="ShowOnStartUp_Option" Content="Show page on startup" IsChecked="{Binding ShowPageAtStartup, Mode=TwoWay}" Margin="0,2,0,0"/>
            </StackPanel>
        </Grid>

        <!--Center Content-->
        <Grid Grid.Column="2" Grid.Row="1" Grid.RowSpan="1" Margin="0,-35,15,15">
            <Grid.Resources>
                <XmlDataProvider x:Key="dataProvider" Source="{sp:StartPageRelative Links.xml}" />
            </Grid.Resources>
            <TabControl SelectedIndex="{Binding SelectedTabItemIndex, Mode=TwoWay}">

                <!-- Get Started Content Area 
                The purpose of this content area is to highlight some of the useful places where users can get help/information/resources for their projects-->
                <TabItem Header="Get Started" Height="Auto" x:Uid="GetStarted_Tab" DataContext="{Binding Source={StaticResource dataProvider}}">
                    <Grid>

                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="*"></RowDefinition>
                        </Grid.RowDefinitions>

                        <ListBox x:Name="GetStarted_ItemsGroupList" Grid.Row="0" Margin="12,12,0,6" SelectedIndex="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TabControl}}, Path=DataContext.SelectedSubitem1Index, Mode=TwoWay}" BorderBrush="Transparent" ItemContainerStyle="{DynamicResource StartPage.GetStarted.Listbox.ItemGroupStyle}" IsSynchronizedWithCurrentItem="True" Background="Transparent"  HorizontalAlignment="Left" ItemsPanel="{DynamicResource StartPage.GetStarted.Listbox.ItemsGroupPanelTemplate}" ItemsSource="{Binding XPath=/items/getstarteditemgroup/itemsubgroup}" VerticalContentAlignment="Top" ScrollViewer.HorizontalScrollBarVisibility="Disabled" VerticalAlignment="Top"/>
                        <ScrollViewer Grid.Row="1" Margin="12,6,0,0" VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Style="{DynamicResource StartPage.ScrollViewerStyle}">
                            <ListBox KeyboardNavigation.TabNavigation="Continue" SelectedIndex="0" x:Name="GetStarted_ListView" ItemContainerStyle="{DynamicResource StartPage.GetStarted.ItemContainerStyle}"  Width="Auto" Margin="0,0,15,0" ItemsPanel="{DynamicResource StartPage.GetStarted.ListBox.ItemsPanelTemplate}" BorderBrush="Transparent" HorizontalContentAlignment="Stretch" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding Path=SelectedItem, ElementName=GetStarted_ItemsGroupList, Mode=Default}" Background="Transparent"  HorizontalAlignment="Stretch" VerticalContentAlignment="Top" VerticalAlignment="Stretch" Height="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled"  ScrollViewer.VerticalScrollBarVisibility="Auto" DataContext="{Binding}">
                            </ListBox>
                        </ScrollViewer>
                    </Grid>
                </TabItem>

                <TabItem Header="Guidance and Resources" Height="Auto" x:Uid="ALM_Tab" DataContext="{Binding Source={StaticResource dataProvider}}">
                    <Grid>

                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="*"></RowDefinition>
                        </Grid.RowDefinitions>

                        <ListBox x:Name="ALM_ItemsGroupList" Grid.Row="0" Margin="12,12,0,6" SelectedIndex="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TabControl}}, Path=DataContext.SelectedSubitem2Index, Mode=TwoWay}" BorderBrush="Transparent" ItemContainerStyle="{DynamicResource StartPage.GetStarted.Listbox.ItemGroupStyle}" IsSynchronizedWithCurrentItem="True" Background="Transparent"  HorizontalAlignment="Left" ItemsPanel="{DynamicResource StartPage.GetStarted.Listbox.ItemsGroupPanelTemplate}" ItemsSource="{Binding XPath=/items/almitemgroup/itemsubgroup}" VerticalContentAlignment="Top" ScrollViewer.HorizontalScrollBarVisibility="Disabled" VerticalAlignment="Top"/>
                        <ScrollViewer Grid.Row="1" Margin="12,6,0,0" VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Style="{DynamicResource StartPage.ScrollViewerStyle}">
                            <ListBox KeyboardNavigation.TabNavigation="Continue" ItemContainerStyle="{DynamicResource StartPage.GetStarted.ItemContainerStyle}"  SelectedIndex="0" x:Name="ALM_ListView" Width="Auto" Margin="0,0,15,0" ItemsPanel="{DynamicResource StartPage.GetStarted.ListBox.ItemsPanelTemplate}" BorderBrush="Transparent" HorizontalContentAlignment="Stretch" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding Path=SelectedItem, ElementName=ALM_ItemsGroupList, Mode=Default}" Background="Transparent"  HorizontalAlignment="Stretch" VerticalContentAlignment="Top" VerticalAlignment="Stretch" Height="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled"  ScrollViewer.VerticalScrollBarVisibility="Auto">
                            </ListBox>
                        </ScrollViewer>
                    </Grid>
                </TabItem>
                <TabItem Header="Latest News" x:Uid="RSSFeed_Tab">
                    <Grid Margin="12,12,0,6" VerticalAlignment="Stretch" >
                        <Grid.RowDefinitions>
                            <!--Heading-->
                            <RowDefinition Height="Auto" />
                            <!-- Main Content Area -->
                            <RowDefinition Height="0.65*" />
                        </Grid.RowDefinitions>

                        <!-- Heading -->
                        <Grid Grid.Row="0" Margin="0,0,0,6" Grid.RowSpan="1" HorizontalAlignment="Stretch" Grid.ColumnSpan="2">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <TextBlock x:Uid="RssFeed" Text="RSS feed:" Style="{DynamicResource StartPage.HeadingTextStyle}" Margin="2,0,10,3"  Grid.Column="0" />
                            <TextBox Grid.Column="1" x:Name="RSS_TextField_Source" Text="{Binding Rss.RssFeed, Mode=OneWay}" Margin="0,0,2,0"/>
                            <vs:ImageButton Grid.Column="2" Margin="0,0,2,0"
                                Focusable="True"
                                Command="{x:Static sp:RssCommands.SetUrl}" CommandParameter="{Binding Text, ElementName=RSS_TextField_Source}"
                                ImageNormal="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/RSSButton.png"
                                ImageHover="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/RSSButtonMouseOver.png"
                                ImagePressed="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/RSSButtonMouseDown.png">
                            </vs:ImageButton>
                        </Grid>

                        <ContentControl Grid.Row="1" Content="{Binding}" KeyboardNavigation.IsTabStop="False" >
                            <ContentControl.ContentTemplate>
                                <DataTemplate>
                                    <Grid>
                                        <ItemsControl x:Name="Displaying" DataContext="{Binding Rss.Content, Converter={StaticResource StringToXmlDataProviderConverter}}" ItemsSource="{Binding XPath=/rss/channel/item}" Background="Transparent" KeyboardNavigation.IsTabStop="False" >
                                            <ItemsControl.Template>
                                                <ControlTemplate TargetType="ItemsControl" >
                                                    <ScrollViewer x:Name="RSSItems_ScrollViewer" CanContentScroll="True" Margin="3,4,0,0" VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch" Style="{DynamicResource StartPage.ScrollViewerStyle}" >
                                                        <ItemsPresenter/>
                                                    </ScrollViewer>
                                                </ControlTemplate>
                                            </ItemsControl.Template>
                                            <ItemsControl.ItemsPanel>
                                                <ItemsPanelTemplate>
                                                    <VirtualizingStackPanel/>
                                                </ItemsPanelTemplate>
                                            </ItemsControl.ItemsPanel>
                                            <ItemsControl.ItemTemplate>
                                                <DataTemplate>
                                                    <Grid Height="Auto" Width="Auto" Margin="0,0,20,19">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="Auto"/>
                                                            <ColumnDefinition/>
                                                        </Grid.ColumnDefinitions>
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition/>
                                                            <RowDefinition/>
                                                            <RowDefinition/>
                                                        </Grid.RowDefinitions>
                                                        <Button Margin="0,0,1,1" Style="{DynamicResource StartPage.RSS.TitleTextStyle}" Command="{x:Static sp:VSCommands.Browse}" CommandParameter="{Binding XPath=link}" Content="{Binding XPath=title}" AutomationProperties.Name="{Binding XPath=title}" VerticalAlignment="Center"/>
                                                        <TextBlock Margin="3,0,8,1" Grid.Column="1" Text="{Binding XPath=pubDate}"  Style="{DynamicResource StartPage.RSS.DateTextStyle}" HorizontalAlignment="Right" VerticalAlignment="Center" Padding="0,5,0,4"/>
                                                        <TextBlock Grid.Row="1" Grid.ColumnSpan="2" Style="{DynamicResource StartPage.NormalTextStyle}" Margin="0,-1,0,0" Text="{Binding XPath=description, Converter={StaticResource StringToStringWithoutHypertextTagsConverter}}" />
                                                        <TextBlock Grid.Row="2" Grid.ColumnSpan="2" Style="{DynamicResource StartPage.NormalTextStyle}" Margin="0,3,0,0" Text="{Binding XPath=category}" />
                                                    </Grid>
                                                </DataTemplate>
                                            </ItemsControl.ItemTemplate>
                                        </ItemsControl>
                                        <Grid>
                                            <StackPanel x:Name="OptIn">
                                                <TextBlock x:Name="OptIn_Text" x:Uid="Rss_OptIn_Text" Style="{DynamicResource StartPage.NormalTextStyle}" Margin="3,3,3,3">
                                                    Click the button to subscribe to an RSS feed that provides updated information about Firaxis products and technologies. To view the Firaxis privacy policy, on the Help menu, click Online Privacy Statement.
                                                </TextBlock>
                                                <Button x:Name="OptIn_Button" x:Uid="Rss_OptIn_Button" Content="Enable RSS Feed" Command="{x:Static sp:RssCommands.EnableDownload}" HorizontalAlignment="Left" Margin="0,6,0,0" />
                                            </StackPanel>

                                            <TextBlock x:Name="Loading" x:Uid="Rss_Loading" Style="{DynamicResource StartPage.NormalTextStyle}">
                                                Updating the news channel...
                                            </TextBlock>

                                            <StackPanel x:Name="Prompt">
                                                <TextBlock x:Name="Prompt_Text" x:Uid="Rss_Prompt_Text" Style="{DynamicResource StartPage.NormalTextStyle}" Margin="3,3,3,3">
                                                    Please enter your login credentials to enable this RSS feed.
                                                </TextBlock>
                                                <Button x:Name="Prompt_Button" x:Uid="Rss_Prompt_Button" Content="Enter Credentials" Command="{x:Static sp:RssCommands.PromptForCredentials}" HorizontalAlignment="Left" Margin="0,6,0,0" />
                                            </StackPanel>

                                            <TextBlock x:Name="Error" x:Uid="Rss_Error" Style="{DynamicResource StartPage.NormalTextStyle}" >
                                                The current news channel might not be a valid RSS feed, or your internet connection might be unavailable.
                                            </TextBlock>
                                        </Grid>
                                    </Grid>
                                    <DataTemplate.Triggers>
                                        <!-- Changing disabled state from "Hidden" to "Collapsed" to work around DevDiv 517937.
                                         This assumes that all the overlapped controls in the outer Grid are the same size.
                                         Currently they are all TextBlocks but beware of resizing issues if this changes-->
                                        <DataTrigger Binding="{Binding Path=Rss.Status}" Value="DownloadDisabled">
                                            <Setter TargetName="OptIn"       Property="Visibility" Value="Visible" />
                                            <Setter TargetName="Loading"     Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Displaying"  Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Prompt"      Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Error"       Property="Visibility" Value="Collapsed" />
                                        </DataTrigger>

                                        <DataTrigger Binding="{Binding Path=Rss.Status}" Value="Loading">
                                            <Setter TargetName="OptIn"       Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Loading"     Property="Visibility" Value="Visible" />
                                            <Setter TargetName="Displaying"  Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Prompt"      Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Error"       Property="Visibility" Value="Collapsed" />
                                        </DataTrigger>

                                        <DataTrigger Binding="{Binding Path=Rss.Status}" Value="Displaying">
                                            <Setter TargetName="OptIn"       Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Loading"     Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Displaying"  Property="Visibility" Value="Visible" />
                                            <Setter TargetName="Prompt"      Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Error"       Property="Visibility" Value="Collapsed" />
                                        </DataTrigger>


                                        <DataTrigger Binding="{Binding Path=Rss.Status}" Value="PromptForCredentials">
                                            <Setter TargetName="OptIn"       Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Loading"     Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Displaying"  Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Prompt"     Property="Visibility" Value="Visible" />
                                            <Setter TargetName="Error"       Property="Visibility" Value="Collapsed" />
                                        </DataTrigger>

                                        <DataTrigger Binding="{Binding Path=Rss.Status}" Value="Error">
                                            <Setter TargetName="OptIn"       Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Loading"     Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Displaying"  Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Prompt"       Property="Visibility" Value="Collapsed" />
                                            <Setter TargetName="Error"       Property="Visibility" Value="Visible" />
                                        </DataTrigger>
                                    </DataTemplate.Triggers>
                                </DataTemplate>
                            </ContentControl.ContentTemplate>
                        </ContentControl>
                    </Grid>
                </TabItem>
            </TabControl>
        </Grid>
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#ff474022" Offset="0" />
                <GradientStop Color="#ffc7c29b" Offset="0.2" />
                <GradientStop Color="WhiteSmoke" Offset="0.8" />
            </LinearGradientBrush>
        </Grid.Background>
    </Grid>
</Grid>
