29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
<ContentDialog
|
|
x:Class="Wino.Dialogs.TextInputDialog"
|
|
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:domain="using:Wino.Core.Domain"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
HorizontalContentAlignment="Stretch"
|
|
VerticalContentAlignment="Stretch"
|
|
DefaultButton="Primary"
|
|
PrimaryButtonClick="UpdateOrCreateClicked"
|
|
SecondaryButtonClick="CancelClicked"
|
|
SecondaryButtonText="{x:Bind domain:Translator.Buttons_Cancel}"
|
|
Style="{StaticResource WinoDialogStyle}"
|
|
mc:Ignorable="d">
|
|
|
|
<ContentDialog.Resources>
|
|
<x:Double x:Key="ContentDialogMinWidth">400</x:Double>
|
|
<x:Double x:Key="ContentDialogMaxWidth">400</x:Double>
|
|
<x:Double x:Key="ContentDialogMinHeight">200</x:Double>
|
|
<x:Double x:Key="ContentDialogMaxHeight">756</x:Double>
|
|
</ContentDialog.Resources>
|
|
|
|
<StackPanel Spacing="12">
|
|
<TextBlock x:Name="DialogDescription" TextWrapping="Wrap" />
|
|
<TextBox x:Name="FolderTextBox" Text="{x:Bind CurrentInput, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
</StackPanel>
|
|
</ContentDialog>
|