<Window x:Class="ConeCalorimeter.Views.HelpDialogWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="{Binding HeaderText}"
        Width="680"
        Height="760"
        MinWidth="560"
        MinHeight="520"
        WindowStartupLocation="CenterOwner"
        ResizeMode="CanResize"
        FontFamily="Microsoft YaHei UI"
        Background="#FFFFFF">
    <Grid Background="#FFFFFF">
        <Border Margin="2"
                Background="#FFFFFF"
                BorderBrush="#AEB7B2"
                BorderThickness="1">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="72" />
                </Grid.RowDefinitions>

                <ScrollViewer VerticalScrollBarVisibility="Auto"
                              HorizontalScrollBarVisibility="Disabled">
                    <TextBlock Text="{Binding BodyText}"
                               Margin="16,12,22,24"
                               FontSize="25"
                               FontWeight="SemiBold"
                               Foreground="#111111"
                               LineHeight="43"
                               TextWrapping="Wrap" />
                </ScrollViewer>

                <Border Grid.Row="1"
                        BorderBrush="#D7DEDA"
                        BorderThickness="0,1,0,0"
                        Background="#F7F9F8">
                    <Button Content="确定"
                            Width="120"
                            Height="42"
                            Margin="0,0,24,0"
                            HorizontalAlignment="Right"
                            VerticalAlignment="Center"
                            IsDefault="True"
                            Click="ConfirmButton_Click"
                            Style="{StaticResource InstrumentButtonStyle}" />
                </Border>
            </Grid>
        </Border>
    </Grid>
</Window>
