2017-10-11 18:43:27 +02:00
|
|
|
<Page
|
2017-12-08 19:38:33 +01:00
|
|
|
x:Class="ModernKeePass.Views.NewDatabasePage"
|
2017-10-11 18:43:27 +02:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:converters="using:ModernKeePass.Converters"
|
2017-12-08 19:38:33 +01:00
|
|
|
xmlns:userControls="using:ModernKeePass.Views.UserControls"
|
2020-04-23 19:00:38 +02:00
|
|
|
mc:Ignorable="d"
|
|
|
|
DataContext="{Binding Source={StaticResource Locator}, Path=New}">
|
2017-10-11 18:43:27 +02:00
|
|
|
<Page.Resources>
|
2017-10-16 16:16:58 +02:00
|
|
|
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
2017-10-11 18:43:27 +02:00
|
|
|
</Page.Resources>
|
2018-09-07 18:16:40 +02:00
|
|
|
|
2020-04-23 19:00:38 +02:00
|
|
|
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
2020-04-29 16:39:20 +02:00
|
|
|
<HyperlinkButton x:Uid="NewCreateButton" Click="CreateDatabaseButton_OnClick" />
|
2017-11-28 18:53:10 +01:00
|
|
|
<TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="15,0,0,30" x:Uid="NewCreateDesc" />
|
2018-06-20 11:52:17 +02:00
|
|
|
<Border HorizontalAlignment="Left" BorderThickness="1" BorderBrush="AliceBlue" Width="550" Visibility="{Binding IsFileSelected, Converter={StaticResource BooleanToVisibilityConverter}}">
|
2017-10-27 16:28:13 +02:00
|
|
|
<StackPanel Margin="25,0,25,0">
|
|
|
|
<TextBlock Text="{Binding Name}" />
|
2020-04-22 16:21:47 +02:00
|
|
|
<userControls:SetCredentialsUserControl x:Uid="CompositeKeyNewButton" />
|
2018-09-07 18:16:40 +02:00
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
2017-10-11 18:43:27 +02:00
|
|
|
</StackPanel>
|
|
|
|
</Page>
|
2017-11-04 12:11:30 -04:00
|
|
|
|
2017-12-08 19:38:33 +01:00
|
|
|
|
|
|
|
|