-
-
Notifications
You must be signed in to change notification settings - Fork 492
/
Copy pathFrozenAccountCard.xaml
40 lines (37 loc) · 1.68 KB
/
FrozenAccountCard.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
<UserControl x:Class="Telegram.Controls.FrozenAccountCard"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Telegram.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300"
d:DesignWidth="400">
<Grid Background="{ThemeResource SettingsItemBackground}"
BorderBrush="{ThemeResource SettingsItemBorderBrush}"
BorderThickness="1"
CornerRadius="4"
Margin="12,4,12,0"
Padding="12,8,12,4">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Text="{CustomResource AccountFrozenAlertTitle}"
Style="{StaticResource BaseTextBlockStyle}"
Foreground="{ThemeResource DangerButtonBackground}"
Grid.ColumnSpan="2" />
<TextBlock Text="{CustomResource AccountFrozenAlertSubtitle}"
Style="{StaticResource BodyTextBlockStyle}"
Margin="0,0,0,4"
Grid.ColumnSpan="2"
Grid.Row="1" />
<Button x:Name="Confirm"
Style="{StaticResource AccentTextButtonStyle}"
FontWeight="SemiBold"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Margin="-12,-8,-12,-4"
Grid.RowSpan="2" />
</Grid>
</UserControl>