프로젝트

일반

사용자정보

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

markus / MarkusAutoUpdate / src / NetSparkle.UI.WPF / ToastNotification.xaml @ d8f5045e

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

1
<Window x:Class="NetSparkleUpdater.UI.WPF.ToastNotification"
2
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
5
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6
        xmlns:local="clr-namespace:NetSparkleUpdater.UI.WPF"
7
        mc:Ignorable="d"
8
        WindowStyle="None"
9
        Width="300"
10
        Height="90"
11
        Name="ToastNotificationWindow"
12
        d:DesignHeight="450"
13
        d:DesignWidth="800">
14
    <Grid>
15
        <Grid.RowDefinitions>
16
            <RowDefinition Height="Auto" />
17
            <RowDefinition Height="*" />
18
        </Grid.RowDefinitions>
19
        <Grid.ColumnDefinitions>
20
            <ColumnDefinition Width="Auto" />
21
            <ColumnDefinition Width="*" />
22
        </Grid.ColumnDefinitions>
23
        <Image Grid.Row="0"
24
               Grid.Column="0"
25
               Source="{Binding ElementName=ToastNotificationWindow, Path=Icon}"
26
               VerticalAlignment="Top"
27
               Grid.RowSpan="2"
28
               HorizontalAlignment="Left"
29
               Width="48"
30
               Height="48"
31
               Margin="10,10,0,0" />
32

    
33
        <TextBlock Grid.Row="0"
34
                   Grid.Column="1"
35
                   Text="Notification text"
36
                   HorizontalAlignment="Left"
37
                   FontWeight="Bold"
38
                   FontSize="18"
39
                   Margin="8,10,0,0"
40
                   Name="NotificationTitle"
41
                   TextWrapping="Wrap" />
42
        <TextBlock Grid.Row="1"
43
                   Grid.Column="1"
44
                   Text=""
45
                   HorizontalAlignment="Left"
46
                   FontWeight="Bold"
47
                   FontSize="14"
48
                   Name="MessageTextBlock"
49
                   Margin="8,10,0,0"
50
                   TextWrapping="Wrap">
51
            <Hyperlink RequestNavigate="NotificationLink_RequestNavigate"
52
                       NavigateUri=""
53
                       Name="NotificationLink" />
54
        </TextBlock>
55
    </Grid>
56
</Window>
클립보드 이미지 추가 (최대 크기: 500 MB)