-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVideoDetailsWindow.xaml
215 lines (192 loc) · 7.49 KB
/
VideoDetailsWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<Window x:Class="YouTubeDownloaderV2.VideoDetailsWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="YouTube Downloader - Video Information"
Height="450" Width="750"
Icon="icon.ico"
WindowStyle="ThreeDBorderWindow"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
Background="{DynamicResource Background}"
IsTabStop="False"
Loaded="Window_Loaded"
Padding="10">
<Grid ClipToBounds="True" UseLayoutRounding="True" Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="40"/>
<RowDefinition Height="40"/>
<RowDefinition Height="40"/>
<RowDefinition Height="40"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label Content="Channel:"
Grid.Row="0"
Grid.Column="0"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="Bold"
IsTabStop="False"/>
<Label x:Name="ChannelNameLabel"
Grid.Row="0"
Grid.Column="1"
FontSize="20"
Foreground="{DynamicResource Control}"
FontFamily="{StaticResource OpenSans}"
FontWeight="SemiBold"
Cursor="Hand"
Margin="-50,0,0,0"
ToolTipService.HasDropShadow="True"
ToolTipService.ShowOnDisabled="False"
IsTabStop="False"
MouseLeftButtonDown="ChannelNameLabel_MouseLeftButtonDown"/>
<Label Content="Upload Date:"
Grid.Row="1"
Grid.Column="0"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="Bold"
IsTabStop="False"/>
<Label x:Name="UploadDateLabel"
Grid.Row="1"
Grid.Column="1"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="SemiBold"
Margin="-10,0,0,0"
IsTabStop="False"/>
<Label Content="Views:"
Grid.Row="2"
Grid.Column="0"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="Bold"
IsTabStop="False"/>
<Label x:Name="ViewsLabel"
Grid.Row="2"
Grid.Column="1"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="SemiBold"
Margin="-70,0,0,0"
IsTabStop="False"/>
<Label Content="Likes:"
Grid.Row="3"
Grid.Column="0"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="Bold"
IsTabStop="False"/>
<Label x:Name="LikesLabel"
Grid.Row="3"
Grid.Column="1"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="SemiBold"
Margin="-80,0,0,0"
IsTabStop="False"/>
<Label Content="Dislikes:"
Grid.Row="4"
Grid.Column="0"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="Bold"
IsTabStop="False"/>
<Label x:Name="DislikesLabel"
Grid.Row="4"
Grid.Column="1"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="SemiBold"
Margin="-55,0,0,0"
IsTabStop="False"/>
<Label Content="Description:"
Grid.Row="5"
Grid.Column="0"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="Bold"
Margin="0,43.5,0,0"
IsTabStop="False"/>
<Border Grid.Row="5"
Grid.Column="1"
BorderThickness="0"
CornerRadius="7.5"
Width="560"
Height="120"
Margin="-10,0,0,0"
Padding="5"
Background="{DynamicResource Control}">
<ScrollViewer FontSize="20"
Background="{DynamicResource Control}"
FontFamily="{StaticResource OpenSans}"
FontWeight="SemiBold"
Padding="5"
ScrollViewer.CanContentScroll="True"
IsTabStop="False">
<TextBlock x:Name="DescriptionTextBlock"
Foreground="{DynamicResource Text}"
TextWrapping="Wrap"
ScrollViewer.CanContentScroll="True"/>
</ScrollViewer>
</Border>
<Label Content="Keywords:"
Grid.Row="6"
Grid.Column="0"
FontSize="20"
Foreground="{DynamicResource Text}"
FontFamily="{StaticResource OpenSans}"
FontWeight="Bold"
Margin="0,22.5,0,0"
IsTabStop="False"/>
<Border Grid.Row="6"
Grid.Column="1"
CornerRadius="7.5"
Width="580"
Height="55"
BorderThickness="0"
Background="{DynamicResource Control}"
Margin="-30,12,0,0"
Padding="5,0,5,5">
<TextBox x:Name="KeywordsTextBox"
Foreground="{DynamicResource Text}"
Background="{DynamicResource Control}"
FontFamily="{StaticResource OpenSans}"
BorderThickness="0"
FontWeight="SemiBold"
FontSize="18"
FontStyle="Normal"
Padding="5"
IsReadOnly="True"
ScrollViewer.HorizontalScrollBarVisibility="Auto"
ScrollViewer.CanContentScroll="True"
Cursor="Arrow"
VerticalContentAlignment="Center"
HorizontalContentAlignment="Center"
IsTabStop="False">
<TextBox.Resources>
<Style TargetType="{x:Type Border}">
<Setter Property="CornerRadius"
Value="7.5"/>
</Style>
</TextBox.Resources>
</TextBox>
</Border>
</Grid>
</Window>