프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / MarkusAutoUpdate / src / NetSparkle.UI.Avalonia / UpdateAvailableWindow.xaml @ d8f5045e

이력 | 보기 | 이력해설 | 다운로드 (3.29 KB)

1
<cont:BaseWindow 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
                 xmlns:cont="clr-namespace:NetSparkleUpdater.UI.Avalonia.Controls"
6
                 xmlns:html="clr-namespace:Avalonia.Controls.Html;assembly=Avalonia.HtmlRenderer"
7
                 mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="450"
8
                 x:Class="NetSparkleUpdater.UI.Avalonia.UpdateAvailableWindow"
9
                 Title="Software Update"
10
                 MinWidth="500"
11
                 MinHeight="350"
12
                 Width="700"
13
                 Height="600"
14
                 WindowStartupLocation="CenterScreen">
15
  <Grid Background="#EEEEEE" ColumnDefinitions="Auto, *" Name="MainGrid"
16
        RowDefinitions="Auto, Auto, *, Auto">
17
    <Image Grid.Row="0"
18
           Grid.RowSpan="3"
19
           Grid.Column="0"
20
           x:Name="AppIcon"
21
           VerticalAlignment="Top"
22
           HorizontalAlignment="Left"
23
           Width="48"
24
           Height="48"
25
           Margin="10,10,0,0" />
26
    <TextBlock Name="TitleHeader"
27
               Text="{Binding TitleHeaderText}"
28
               TextWrapping="Wrap"
29
               FontSize="16"
30
               Margin="10,5,0,0"
31
               Grid.Column="1"
32
               Grid.Row="0" />
33
    <TextBlock Name="InfoText"
34
               Text="{Binding InfoText}"
35
               FontSize="14"
36
               TextWrapping="Wrap"
37
               Margin="10,5,0,0"
38
               Grid.Column="1"
39
               Grid.Row="1" />
40
    <!--<WebBrowser Name="ReleaseNotesBrowser"
41
                IsVisible="{Binding AreReleaseNotesVisible}"
42
                AllowDrop="False"
43
                Grid.Column="1"
44
                Grid.Row="2"
45
                Margin="10,5,10,0" />-->
46
    <ScrollViewer
47
        Grid.Column="1"
48
        Grid.Row="2">
49
      <html:HtmlLabel Name="ChangeNotesHTMLLabel" />
50
    </ScrollViewer>
51
    <Button Name="SkipButton"
52
            IsEnabled="{Binding IsSkipEnabled}"
53
            IsVisible="{Binding IsSkipVisible}"
54
            Content="Skip this version"
55
            Grid.Column="1"
56
            Grid.Row="3"
57
            HorizontalAlignment="Left"
58
            VerticalAlignment="Center"
59
            Command="{Binding Skip}"
60
            Margin="10,10,0,10"
61
            Padding="5" />
62
    <StackPanel Orientation="Horizontal"
63
                Spacing="8"
64
                Grid.Column="1"
65
                Grid.Row="3"
66
                HorizontalAlignment="Right"
67
                Margin="0,10,4,10">
68
        <Button Name="RemindMeLaterButton"
69
                IsEnabled="{Binding IsRemindMeLaterEnabled}"
70
                IsVisible="{Binding IsRemindMeLaterVisible}"
71
                Content="Remind me later"
72
                Command="{Binding RemindMeLater}"
73
                Margin="0,0,0,0"
74
                Padding="5" />
75
        <Button Name="DownloadInstallButton"
76
                Content="Download/Install"
77
                Grid.Column="1"
78
                Grid.Row="3"
79
                HorizontalAlignment="Right"
80
                Command="{Binding DownloadInstall}"
81
                Margin="0,0,0,0"
82
                Padding="5" />
83
        </StackPanel>
84
  </Grid>
85
</cont:BaseWindow>
클립보드 이미지 추가 (최대 크기: 500 MB)