2024-05-01 12:00:30 -04:00
|
|
|
<UserControl xmlns="https://github.com/avaloniaui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:dialogHost="clr-namespace:DialogHostAvalonia;assembly=DialogHost.Avalonia"
|
|
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
|
|
x:Class="SPTInstaller.CustomControls.Dialogs.ChangeLogDialog"
|
|
|
|
MinWidth="400">
|
|
|
|
<StackPanel>
|
|
|
|
<Label Content="{Binding Version, RelativeSource={RelativeSource AncestorType=UserControl}, StringFormat='{}Installer Change Log for {0}'}" FontSize="18" FontWeight="SemiBold"
|
|
|
|
/>
|
|
|
|
<Separator Margin="0 10" Padding="0" Background="{StaticResource AKI_Yellow}"/>
|
2024-05-01 12:12:18 -04:00
|
|
|
<ScrollViewer MaxHeight="250">
|
|
|
|
<TextBlock Text="{Binding Message, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
|
|
|
TextWrapping="Wrap" MinHeight="100"
|
|
|
|
/>
|
|
|
|
</ScrollViewer>
|
2024-05-01 12:00:30 -04:00
|
|
|
<Button Content="Close" Classes="yellow"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=dialogHost:DialogHost}, Path=CloseDialogCommand}"
|
|
|
|
/>
|
|
|
|
</StackPanel>
|
|
|
|
</UserControl>
|