Files
Wino-Mail/Wino.Mail.WinUI/Dialogs/TextInputDialog.xaml
T

32 lines
1.3 KiB
XML
Raw Normal View History

2025-11-15 14:52:01 +01:00
<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>
2026-03-06 11:22:12 +01:00
<StackPanel Spacing="16">
<TextBlock
x:Name="DialogDescription"
Style="{ThemeResource BodyTextBlockStyle}"
TextWrapping="Wrap" />
2025-11-15 14:52:01 +01:00
<TextBox x:Name="FolderTextBox" Text="{x:Bind CurrentInput, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</StackPanel>
</ContentDialog>