| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | <UserControl x:Class="PRSDesktop.JobSummaryPanel"             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:PRSDesktop"             mc:Ignorable="d"             d:DesignHeight="300" d:DesignWidth="300">    <UserControl.Resources>        <Style x:Key="TextAlignLeft" TargetType="CheckBox">            <Style.Resources>                <Style TargetType="Path">                    <Setter Property="FlowDirection" Value="LeftToRight" />                </Style>                <Style TargetType="TextBlock">                    <Setter Property="FlowDirection" Value="LeftToRight" />                </Style>            </Style.Resources>            <Setter Property="FlowDirection" Value="RightToLeft" />        </Style>    </UserControl.Resources>    <Grid>        <Grid.RowDefinitions>            <RowDefinition Height="Auto"/>            <RowDefinition Height="*"/>        </Grid.RowDefinitions>        <Border Grid.Row="0" CornerRadius="5,5,0,0" BorderBrush="Gray" BorderThickness="0.75" Padding="5,2" Background="WhiteSmoke" >            <DockPanel>                <CheckBox                     x:Name="ReservedStock"                     Content="Include Other Reserves"                     IsThreeState="False"                     IsChecked="False"                     DockPanel.Dock="Right"                     VerticalContentAlignment="Center"                     Style="{StaticResource TextAlignLeft}"                    Checked="ReservedStock_OnChecked" Unchecked="ReservedStock_OnChecked"/>                <Label Content="" DockPanel.Dock="Left"/>            </DockPanel>        </Border>        <local:JobSummaryGrid x:Name="Summary" Grid.Row="1" Margin="0,2,0,0" />    </Grid></UserControl>
 |