Files
ShrlAlgoToolkit/Sai.RvKits Setup/Dialogs/WelcomeDialog.xaml
2024-09-22 11:05:41 +08:00

90 lines
3.2 KiB
XML

<wixsharp:WpfDialog
x:Class="Sai.RvKits_Setup.WelcomeDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:wixsharp="clr-namespace:WixSharp.UI.WPF;assembly=WixSharp.UI.WPF"
d:DesignHeight="408"
d:DesignWidth="512"
DialogTitle="[ProductName] Setup"
mc:Ignorable="d">
<Grid x:Name="Root">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="53" />
</Grid.RowDefinitions>
<Border
Margin="-1,-1,-1,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
BorderBrush="Gray"
BorderThickness="1">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="75" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="156" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Image x:Name="Banner" Grid.RowSpan="2" />
<TextBlock
Grid.RowSpan="1"
Grid.Column="1"
Margin="10,25,10,10"
VerticalAlignment="Top"
FontSize="16"
FontWeight="Normal">
[WelcomeDlgTitle]
</TextBlock>
<TextBlock
x:Name="DialogDescription"
Grid.Row="2"
Grid.Column="1"
Margin="10"
TextWrapping="WrapWithOverflow">
[WelcomeDlgDescription]
</TextBlock>
</Grid>
</Border>
<Border
Grid.Row="2"
Margin="-1,0,-1,-1"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
BorderBrush="Gray"
BorderThickness="1">
<StackPanel
HorizontalAlignment="Right"
VerticalAlignment="Center"
Orientation="Horizontal">
<Separator Width="10" Opacity="0" />
<Button
x:Name="GoPrev"
Height="23"
MinWidth="73">
[WixUIBack]
</Button>
<Separator Width="10" Opacity="0" />
<Button
x:Name="GoNext"
Height="23"
MinWidth="73">
[WixUINext]
</Button>
<Separator Width="20" Opacity="0" />
<Button
x:Name="Cancel"
Height="23"
MinWidth="73">
[WixUICancel]
</Button>
<Separator Width="10" Opacity="0" />
</StackPanel>
</Border>
</Grid>
</wixsharp:WpfDialog>