2026-02-15 16:53:41 +01:00
|
|
|
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
Title="MessageBox"
|
|
|
|
|
Width="440"
|
|
|
|
|
SizeToContent="Height"
|
2026-03-07 14:49:29 +01:00
|
|
|
MaxHeight="500"
|
2026-02-15 16:53:41 +01:00
|
|
|
ResizeMode="NoResize"
|
2026-03-07 14:49:29 +01:00
|
|
|
WindowStartupLocation="CenterOwner"
|
2026-02-15 16:53:41 +01:00
|
|
|
WindowStyle="None"
|
|
|
|
|
AllowsTransparency="True"
|
|
|
|
|
Background="Transparent"
|
|
|
|
|
Topmost="True"
|
|
|
|
|
ShowInTaskbar="False">
|
|
|
|
|
|
|
|
|
|
<Border BorderBrush="{DynamicResource BorderColor}"
|
|
|
|
|
BorderThickness="1"
|
|
|
|
|
CornerRadius="8"
|
|
|
|
|
Background="{DynamicResource CardBgColor}"
|
|
|
|
|
Margin="25">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect Color="Black"
|
|
|
|
|
Opacity="0.15"
|
|
|
|
|
BlurRadius="20"
|
|
|
|
|
ShadowDepth="0"
|
|
|
|
|
Direction="0"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
|
|
|
|
|
<Grid Margin="0">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<!-- Title Bar -->
|
|
|
|
|
<Grid Grid.Row="0" x:Name="TitleBar" Height="40" Background="Transparent">
|
|
|
|
|
<TextBlock x:Name="TitleText"
|
|
|
|
|
Text="Message"
|
|
|
|
|
Foreground="{DynamicResource FgColor}"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Margin="16,0,0,0"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!-- Message Content -->
|
2026-03-07 14:49:29 +01:00
|
|
|
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" MaxHeight="500" Padding="0" Margin="20,12,1,20">
|
|
|
|
|
<Grid Margin="0,0,20,0">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2026-02-15 16:53:41 +01:00
|
|
|
|
2026-03-07 14:49:29 +01:00
|
|
|
<!-- Icon -->
|
|
|
|
|
<TextBlock x:Name="IconText"
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
FontFamily="Segoe Fluent Icons"
|
|
|
|
|
FontSize="24"
|
|
|
|
|
Foreground="{DynamicResource FgColor}"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Margin="4,2,14,0"
|
|
|
|
|
Visibility="Collapsed"/>
|
2026-02-15 16:53:41 +01:00
|
|
|
|
2026-03-07 14:49:29 +01:00
|
|
|
<!-- Message Text -->
|
|
|
|
|
<TextBlock x:Name="MessageText"
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
Text="Message content goes here"
|
|
|
|
|
TextWrapping="Wrap"
|
|
|
|
|
FontSize="14"
|
|
|
|
|
LineHeight="20"
|
|
|
|
|
Foreground="{DynamicResource FgColor}"
|
|
|
|
|
VerticalAlignment="Center"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollViewer>
|
2026-02-15 16:53:41 +01:00
|
|
|
|
|
|
|
|
<!-- Button Panel -->
|
|
|
|
|
<Border Grid.Row="2"
|
|
|
|
|
Background="{DynamicResource BgColor}"
|
|
|
|
|
BorderBrush="{DynamicResource BorderColor}"
|
|
|
|
|
BorderThickness="0,1,0,0"
|
|
|
|
|
Padding="16,12"
|
|
|
|
|
CornerRadius="0,0,8,8">
|
|
|
|
|
<StackPanel x:Name="ButtonPanel"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Right">
|
|
|
|
|
<Button x:Name="Button1"
|
|
|
|
|
Content="OK"
|
2026-03-07 14:49:29 +01:00
|
|
|
Height="32" MinWidth="80" Margin="4,0"
|
|
|
|
|
Style="{DynamicResource PrimaryButtonStyle}"/>
|
2026-02-15 16:53:41 +01:00
|
|
|
<Button x:Name="Button2"
|
|
|
|
|
Content="Cancel"
|
2026-03-07 14:49:29 +01:00
|
|
|
Height="32" MinWidth="80" Margin="4,0"
|
|
|
|
|
Style="{DynamicResource SecondaryButtonStyle}"
|
2026-02-15 16:53:41 +01:00
|
|
|
Visibility="Collapsed"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</Window>
|