51 lines
3.0 KiB
XML
51 lines
3.0 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}" />
|
|
|
|
<local:ComboBoxPageable x:Name="RoleSelectionControl"
|
|
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedRole, Mode=TwoWay}"
|
|
Margin="0 5 0 10"
|
|
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
BorderBrush="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}" />
|
|
|
|
<TextBlock Text="{Binding Converter={StaticResource LanguageConverter}, ConverterParameter=Dialog.CloseCase.ForwardTicket.ResponsiblePerson}"
|
|
FontWeight="Bold"
|
|
Foreground="{DynamicResource FontColor.Menu.Categories}" />
|
|
|
|
<local:ComboBoxPageable x:Name="PersonSelectionControl"
|
|
Margin="0 5 0 10"
|
|
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedPerson, Mode=TwoWay}"
|
|
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
BorderBrush="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}" />
|
|
|
|
<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>
|