markus / MarkusAutoUpdate / src / NetSparkle.UI.Avalonia / MessageNotificationWindow.xaml @ d8f5045e
이력 | 보기 | 이력해설 | 다운로드 (1.12 KB)
1 | d8f5045e | taeseongkim | <Window xmlns="https://github.com/avaloniaui" |
---|---|---|---|
2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||
3 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
||
4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
||
5 | mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="250" |
||
6 | x:Class="NetSparkleUpdater.UI.Avalonia.MessageNotificationWindow" |
||
7 | Title="MessageNotificationWindow" |
||
8 | Height="300" |
||
9 | SizeToContent="Height" |
||
10 | Width="400" |
||
11 | WindowStartupLocation="CenterScreen"> |
||
12 | <Grid RowDefinitions="Auto, Auto"> |
||
13 | <TextBlock TextWrapping="Wrap" |
||
14 | Name="Message" |
||
15 | Grid.Row="0" |
||
16 | Grid.Column="0" |
||
17 | Margin="5,10,0,5" |
||
18 | FontWeight="Bold" |
||
19 | Text="{Binding Message}" |
||
20 | HorizontalAlignment="Center" |
||
21 | FontSize="18"/> |
||
22 | <Button Content="OK" |
||
23 | Padding="10,5,10,5" |
||
24 | Margin="0,10,0,10" |
||
25 | Grid.Row="1" |
||
26 | HorizontalAlignment="Center" |
||
27 | Command="{Binding $parent[Window].CloseMessage}"/> |
||
28 | </Grid>
|
||
29 | </Window> |