65 lines
3.6 KiB
XML
65 lines
3.6 KiB
XML
<UserControl x:Class="FasdDesktopUi.Basics.UserControls.ForwardTicketDialog"
|
|
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="ForwardTicketDialogUc">
|
|
<UserControl.Resources>
|
|
<vc:LanguageDefinitionsConverter x:Key="LanguageConverter" />
|
|
</UserControl.Resources>
|
|
|
|
<StackPanel x:Name="MainStack">
|
|
<TextBlock Text="{Binding Converter={StaticResource LanguageConverter}, ConverterParameter=Dialog.CloseCase.ForwardTicket.ResponsibleRole}"
|
|
FontWeight="Bold"
|
|
Foreground="{DynamicResource FontColor.Menu.Categories}" />
|
|
|
|
<Border x:Name="RoleValidationBorder"
|
|
Margin="0 5 0 10"
|
|
BorderThickness="1"
|
|
Padding="1"
|
|
CornerRadius="7.5"
|
|
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
BorderBrush="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}">
|
|
<local:ComboBoxPageable x:Name="RoleSelectionControl"
|
|
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedRole, Mode=TwoWay}"
|
|
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
BorderBrush="Transparent" />
|
|
</Border>
|
|
|
|
<TextBlock Text="{Binding Converter={StaticResource LanguageConverter}, ConverterParameter=Dialog.CloseCase.ForwardTicket.ResponsiblePerson}"
|
|
FontWeight="Bold"
|
|
Foreground="{DynamicResource FontColor.Menu.Categories}" />
|
|
|
|
<Border x:Name="PersonValidationBorder"
|
|
Margin="0 5 0 10"
|
|
BorderThickness="1"
|
|
Padding="1"
|
|
CornerRadius="7.5"
|
|
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
BorderBrush="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}">
|
|
<local:ComboBoxPageable x:Name="PersonSelectionControl"
|
|
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedPerson, Mode=TwoWay}"
|
|
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
BorderBrush="Transparent" />
|
|
</Border>
|
|
|
|
<TextBlock Text="{Binding Converter={StaticResource LanguageConverter}, ConverterParameter=Dialog.CloseCase.ForwardTicket.Comment}"
|
|
FontWeight="Bold"
|
|
Foreground="{DynamicResource FontColor.Menu.Categories}" />
|
|
|
|
<TextBox x:Name="CommentTextbox"
|
|
Text="{Binding ElementName=ForwardTicketDialogUc, Path=Comment, Mode=TwoWay}"
|
|
Margin="0 5 0 0"
|
|
Style="{DynamicResource Customizable.Editable.TextBox.EditOnly}"
|
|
MinLines="3"
|
|
TextWrapping="Wrap"
|
|
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}" />
|
|
</StackPanel>
|
|
</UserControl>
|