Proportional StatusBar : StatusBar « Windows Presentation Foundation « C# / C Sharp






Proportional StatusBar

Proportional StatusBar
    
<Window x:Class="MenusAndToolbars.ProportionalStatusBar"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ProportionalStatusBar" Height="300" Width="300">
    <Grid>
      <Grid.RowDefinitions>
        <RowDefinition></RowDefinition>
        <RowDefinition Height="Auto"></RowDefinition>
      </Grid.RowDefinitions>

      <StatusBar Grid.Row="1">
        <StatusBar.ItemsPanel>
          <ItemsPanelTemplate>
            <Grid>
              <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
              </Grid.ColumnDefinitions>              
            </Grid>
          </ItemsPanelTemplate>
        </StatusBar.ItemsPanel>
        <TextBlock>Left Side</TextBlock>
        <StatusBarItem Grid.Column="1">
          <TextBlock>Right Side</TextBlock>
        </StatusBarItem>
      </StatusBar>
    </Grid>
  </Window>

   
    
    
    
  








Related examples in the same category

1.Dock StatusBarDock StatusBar
2.Display a Status BarDisplay a Status Bar
3.Items that can be placed in a StatusBarItems that can be placed in a StatusBar
4.Add TextBlock to StatusbarAdd TextBlock to Statusbar
5.Put Image with tooltip onto statusbarPut Image with tooltip onto statusbar
6.Make Group onto StatusbarMake Group onto Statusbar
7.Add Image to Statusbar
8.Create a ProgressBar.Create a ProgressBar.
9.Animation ProgressBar.Animation ProgressBar.