2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 x:Class="StatusBarSimple.Window1"
8 <Style x:Key="StatusBarSeparatorStyle" TargetType="Separator">
9 <Setter Property="Background" Value="LightBlue" />
10 <Setter Property="Control.Width" Value="1"/>
11 <Setter Property="Control.Height" Value="20"/>
17 <Grid.ColumnDefinitions>
20 </Grid.ColumnDefinitions>
25 </Grid.RowDefinitions>
26 <StackPanel Grid.Column="0" Grid.Row="0">
27 <TextBlock FontSize="12" TextWrapping="WrapWithOverflow">
28 This sample provides examples of items that can be placed in a
29 StatusBar. To see an example, select the application type and
30 look for the content in the StatusBar at the bottom of this
33 <ListBox HorizontalAlignment="Left" VerticalAlignment="Top"
34 Width="150" Margin="0,10,0,0" Foreground="Blue">
35 <ListBoxItem Content="Download Application" Selected="MakeProgressBar"/>
37 <ListBoxItem Content="Compilation Application" Selected="MakeTextBlock"/>
39 <ListBoxItem Content="Printing Application" Selected="MakeImage"/>
41 <ListBoxItem Content="Help Application" Selected="MakeHelp"/>
43 <ListBoxItem Content="Icon Group" Selected="MakeGroup"/>
47 <StatusBar Name="sbar" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2"
48 VerticalAlignment="Bottom" Background="Beige" >
50 <TextBlock>Ready</TextBlock>
53 <Separator Style="{StaticResource StatusBarSeparatorStyle}"/>