48 lines
2.5 KiB
XML
48 lines
2.5 KiB
XML
<UserControl x:Class="FasdDesktopUi.Basics.UserControls.CloseTicketDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:FasdDesktopUi.Basics.UserControls"
|
|
xmlns:vc="clr-namespace:FasdDesktopUi.Basics.Converter"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450"
|
|
d:DesignWidth="800"
|
|
d:Background="White"
|
|
x:Name="CloseTicketDialogUc"
|
|
>
|
|
|
|
<UserControl.Resources>
|
|
<vc:LanguageDefinitionsConverter x:Key="LanguageConverter" />
|
|
</UserControl.Resources>
|
|
|
|
<StackPanel>
|
|
<TextBlock Text="{Binding Converter={StaticResource LanguageConverter}, ConverterParameter=Dialog.CloseCase.CloseTicket.ErrorType}"
|
|
FontWeight="Bold"
|
|
Foreground="{DynamicResource FontColor.Menu.Categories}" />
|
|
<Border x:Name="ErrorTypeValidationBorder"
|
|
Style="{StaticResource MandatoryFieldBorderStyle}">
|
|
<ComboBox x:Name="ErrorTypeComboBox"
|
|
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
BorderBrush="Transparent"
|
|
BorderThickness="0"
|
|
SelectionChanged="ErrorTypeComboBox_SelectionChanged"
|
|
DropDownOpened="DropDownOpened"
|
|
DropDownClosed="DropDownClosed"
|
|
PreviewKeyDown="ErrorTypeComboBox_PreviewKeyDown" />
|
|
</Border>
|
|
<TextBlock Text="{Binding Converter={StaticResource LanguageConverter}, ConverterParameter=Dialog.CloseCase.CloseTicket.Solution}"
|
|
FontWeight="Bold"
|
|
Foreground="{DynamicResource FontColor.Menu.Categories}"
|
|
Margin="0 7.5 0 0"/>
|
|
<TextBox
|
|
x:Name="SolutionTextbox"
|
|
Text="{Binding ElementName=CloseTicketDialogUc, Path=Solution, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
Margin="0 5 0 0"
|
|
Style="{DynamicResource Customizable.Editable.TextBox.EditOnly}"
|
|
MinLines="3"
|
|
TextWrapping="Wrap"
|
|
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}" />
|
|
</StackPanel>
|
|
</UserControl>
|