<UserControl x:Class="HistoryView.Controls.ChannelConfig"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:HistoryView.Controls"
             mc:Ignorable="d" 
             x:Name="This"
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid Margin="0,2">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.Index}"/>
        <TextBlock Grid.Column="2"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.Caps}"/>
        <TextBlock Grid.Column="4"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.CapsWarning}"/>
        <TextBlock Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.FloorWarning}"/>
        <TextBlock Grid.Column="8"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.Floor}"/>
        <TextBlock Grid.Column="10"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.SetPoint}"/>
        <TextBlock Grid.Column="12"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.Running_P,StringFormat=0.0}"/>
        <TextBlock Grid.Column="14"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.Running_I,StringFormat=0.0}"/>
        <TextBlock Grid.Column="16"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.Running_D,StringFormat=0.0}"/>
        <TextBlock Grid.Column="18"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.SetpointUpRate}"/>
        <TextBlock Grid.Column="20"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.SetpointDownRate}"/>
        <TextBlock Grid.Column="22"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.ChannelMode}"/>
        <TextBlock Grid.Column="24"  VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=Source.Inhibit}"/>

    </Grid>
</UserControl>
