<Window x:Class="SchoolSample.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" WindowStartupLocation="CenterScreen" Height="720"> <extToolkit:BusyIndicator IsBusy="{Binding Path=IsBusy}"> <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}"> <Border x:Name="ContentBorder" Style="{StaticResource ContentBorderStyle}"> <Frame x:Name="ContentFrame" Style="{StaticResource ContentFrameStyle}" /> </Border> <Grid x:Name="NavigationGrid" Style="{StaticResource NavigationGridStyle}"> <Border x:Name="BrandingBorder" Style="{StaticResource BrandingBorderStyle}"> <StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}"> <ContentControl Style="{StaticResource LogoIcon}"/> <TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}" Text="{Binding Strings.ApplicationName, Source={StaticResource ApplicationResources}}"/> </StackPanel> </Border> <Border x:Name="LinksBorder" Style="{StaticResource LinksBorderStyle}"> <StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}"> <Button x:Name="Link0" Style="{StaticResource LinkStyle}" Content="{Binding Path=Strings.HomePageTitle, Source={StaticResource ApplicationResources}}" Click="Link0_Click" /> <Rectangle x:Name="Divider0" Style="{StaticResource DividerStyle}"/> <Button x:Name="InstructorLink" Style="{StaticResource LinkStyle}" Content="{Binding Path=Strings.InstructorPageTitle, Source={StaticResource ApplicationResources}}" Click="InstructorLink_Click" /> <Rectangle x:Name="Divider1" Style="{StaticResource DividerStyle}"/> <Button x:Name="StudentLink" Style="{StaticResource LinkStyle}" Content="{Binding Path=Strings.StudentPageTitle, Source={StaticResource ApplicationResources}}" Click="StudentLink_Click" /> <Rectangle x:Name="Divider2" Style="{StaticResource DividerStyle}"/> <Button x:Name="CourseLink" Style="{StaticResource LinkStyle}" Content="{Binding Path=Strings.CoursePageTitle, Source={StaticResource ApplicationResources}}" Click="CourseLink_Click" /> </StackPanel> </Border> </Grid> </Grid> </extToolkit:BusyIndicator> </Window>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)