WPF: Status Bar with Progress Bar

Status bar is somehow called a line where the status or we can say information regarding the window is stated.

Below is the code for Status bar having progress bar:

<StatusBar x:Name="StatusBar" VerticalAlignment="Bottom" Height="25" Background="#FF89C1FF">

   <StatusBar.ItemsPanel>

       <ItemsPanelTemplate>

          <Grid>

            <Grid.RowDefinitions>

              <RowDefinition Height="*"/>

            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>

              <ColumnDefinition Width="4*"/>

              <ColumnDefinition Width="Auto"/>

              <ColumnDefinition Width="*"/>

              <ColumnDefinition Width="*"/>

            </Grid.ColumnDefinitions>

          </Grid>

       </ItemsPanelTemplate>

   </StatusBar.ItemsPanel>

   <StatusBarItem BorderThickness="1" Margin="0,-3,0,-2">

       <TextBlock x:Name="statusBarText">Welcome to ABC</TextBlock>

   </StatusBarItem>

       <StatusBarItem Grid.Column="1"></StatusBarItem>

       <StatusBarItem Grid.Column="3" HorizontalAlignment="Left" ></StatusBarItem>

       </StatusBar>

       <TextBlock Margin="472,290,12,6">Go!</TextBlock>

       <ProgressBar Value="30" Width="80" Height="18" Margin="0,290,49,3" 
        HorizontalAlignment
="Right"/>

Ebook Download
View all
Learn
View all
F11Research & Development, LLC