2016-06-27 01:45:38 +02:00
|
|
|
<localView:BeWoView x:Class="BeWo.View.Detail.ServiceRecordGroupEditView"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:localView="clr-namespace:BeWo.View"
|
|
|
|
|
xmlns:localViewControls="clr-namespace:BeWo.View.Controls"
|
|
|
|
|
xmlns:val="clr-namespace:BeWo.Validation"
|
|
|
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
2017-01-19 17:02:07 +01:00
|
|
|
xmlns:core="clr-namespace:BS.Shared.Core;assembly=BS.Shared"
|
2017-06-02 13:35:42 +02:00
|
|
|
xmlns:controls="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
2017-07-27 09:58:04 +02:00
|
|
|
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
|
|
|
|
xmlns:dxre="http://schemas.devexpress.com/winfx/2008/xaml/richedit"
|
|
|
|
|
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
|
2016-06-27 01:45:38 +02:00
|
|
|
Height="Auto" Width="Auto"
|
|
|
|
|
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|
|
|
|
|
Focusable="True">
|
|
|
|
|
<Grid Width="Auto" Height="Auto">
|
|
|
|
|
<!--uc:ShadowChrome-->
|
|
|
|
|
<GroupBox Style="{StaticResource PopUpWindowStyle}">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,0">
|
|
|
|
|
<Image Source="..\..\Ressources\Icons\HistoryDisabled.png" RenderTransformOrigin="0.5,0.5" Width="Auto" Height="28" Margin="0,0,0,0">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform ScaleX="1" ScaleY="1" />
|
|
|
|
|
<SkewTransform AngleX="0" AngleY="0" />
|
|
|
|
|
<RotateTransform Angle="0" />
|
|
|
|
|
<TranslateTransform X="0" Y="0" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
<TextBox Text="Gruppenbuchung bearbeiten" Margin="10,4,0,0" Background="{x:Null}" Foreground="{DynamicResource MainGroupBoxForegroundBrush}" FontSize="20" BorderBrush="{x:Null}" VerticalAlignment="Stretch" BorderThickness="0,0,0,0" Padding="0,0,0,0" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<Grid Margin="0,3,0,0" Background="{StaticResource ObjectEditBackgroundBrush}">
|
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Rectangle Fill="{DynamicResource ServiceRecordContentBrush}" Height="6" />
|
|
|
|
|
|
|
|
|
|
<Grid x:Name="rootGrid" Grid.Row="1" Margin="10,10,10,0">
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2017-03-28 11:01:28 +02:00
|
|
|
<Grid x:Name="GridOben">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="250" />
|
|
|
|
|
<ColumnDefinition Width="250" />
|
2017-06-11 15:50:31 +02:00
|
|
|
<ColumnDefinition Width="Auto" />
|
2016-06-27 01:45:38 +02:00
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<localViewControls:MultiSupportConceptSelectionControl Margin="0,3,0,3" x:Name="multiSupportConceptControl" MinHeight="100" MaxHeight="200" />
|
|
|
|
|
<localViewControls:MultiEmployeeSelectionControl Grid.Column="1" Margin="5,3,0,3" x:Name="multiEmployeeControl" MinHeight="100" MaxHeight="200" />
|
|
|
|
|
|
2017-06-11 15:50:31 +02:00
|
|
|
<Grid Grid.Column="2" Grid.RowSpan="2" VerticalAlignment="Top" Margin="5,0,0,0" >
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid.ColumnDefinitions>
|
2017-06-11 15:50:31 +02:00
|
|
|
<ColumnDefinition Width="70" />
|
|
|
|
|
<ColumnDefinition Width="195" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" MinHeight="24" />
|
|
|
|
|
<RowDefinition Height="Auto" MinHeight="24" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<!--<Label Grid.Column="0" Grid.Row="1" Content="Ziele" Visibility="{Binding Path=IsGoalTreeVisible, Converter={StaticResource BoolVisibilityConverter}}" />
|
|
|
|
|
<TreeView x:Name="treeview_Goals" Grid.Column="1" Grid.Row="1" Margin="3,0,3,3" ItemsSource="{Binding Path=GoalTree}" Visibility="{Binding Path=IsGoalTreeVisible, Converter={StaticResource BoolVisibilityConverter}}" ItemContainerStyle="{DynamicResource goal_treeitemstyle}" ItemTemplate="{DynamicResource goal_treeitemtemplate}" Grid.RowSpan="1" MinHeight="24" MaxHeight="100" >
|
|
|
|
|
<TreeView.Resources>
|
|
|
|
|
<Style x:Key="goal_treeitemstyle" TargetType="TreeViewItem">
|
|
|
|
|
<Setter Property="IsExpanded" Value="{Binding Path=IsExpanded, Mode=TwoWay}" />
|
|
|
|
|
</Style>
|
|
|
|
|
<HierarchicalDataTemplate x:Key="goal_treeitemtemplate" DataType="{x:Type proxy:SupportConceptGoalDC}" ItemsSource="{Binding Path=Children}" >
|
|
|
|
|
<Grid >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<CheckBox x:Name="Bd" Tag="{Binding}" IsChecked="{Binding Path=IsChecked}" Visibility="{Binding Path=HasParent, Converter={StaticResource BoolVisibilityConverter}}" Grid.Column="0" Margin="3 2" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock x:Name="BdText" Tag="{Binding}" Grid.Column="1" Margin="3 2" Text="{Binding Path=Name}" VerticalAlignment="Center" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</HierarchicalDataTemplate>
|
|
|
|
|
</TreeView.Resources>
|
|
|
|
|
</TreeView>-->
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="2" Content="Kategorie" />
|
2017-06-11 15:50:31 +02:00
|
|
|
<ComboBox Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="3" SelectedItem="{val:ValidationBinding Path=Category, Mode=TwoWay}" ItemsSource="{Binding Path=SortedCategories}" SelectedIndex="0" x:Name="combobox_category" Margin="3,0,3,3" Height="23" HorizontalAlignment="Stretch"/>
|
2016-06-27 01:45:38 +02:00
|
|
|
<Label Grid.Column="0" Grid.Row="3" Content="Leistung" />
|
2017-06-11 15:50:31 +02:00
|
|
|
<ComboBox Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="3" SelectedItem="{val:ValidationBinding Path=ServiceDescription, Mode=TwoWay}" ItemsSource="{Binding Path=PossibleServiceDescriptions}" SelectedIndex="0" x:Name="combobox_services" Margin="3,0,3,3" Height="23" HorizontalAlignment="Stretch"/>
|
2017-01-19 17:02:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--################################ Bereich Ohne EndDatum ##################################-->
|
2017-06-11 15:50:31 +02:00
|
|
|
<Grid Grid.Column="0" Grid.Row="4" ColumnSpan="2" x:Name="GridOhneEnddatum" Visibility="Visible">
|
2017-01-19 17:02:07 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
2017-06-11 15:50:31 +02:00
|
|
|
<ColumnDefinition Width="70" />
|
2017-01-19 17:02:07 +01:00
|
|
|
<ColumnDefinition Width="62" />
|
2017-06-11 15:50:31 +02:00
|
|
|
<ColumnDefinition Width="71" />
|
|
|
|
|
<ColumnDefinition Width="62" />
|
2017-01-19 17:02:07 +01:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="0" Content="Startdatum" x:Name="startDatum1" />
|
|
|
|
|
<dxe:DateEdit Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="3"
|
|
|
|
|
x:Name="datepicker_newDate1"
|
|
|
|
|
EditValue="{val:ValidationBinding Mode=TwoWay, Path=Date}"
|
|
|
|
|
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="1" Content="Startzeit" x:Name="StartzeitLabel1" HorizontalAlignment="Left"/>
|
|
|
|
|
<dxe:TextEdit MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True"
|
|
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
|
|
|
|
EditValue="{Binding Mode=TwoWay, Path=StartTimeEditString, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
x:Name="startTime1" Grid.Column="1" Grid.Row="1"
|
|
|
|
|
Height="23"
|
|
|
|
|
Margin="3,0,3,3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="2" Content="Endzeit" Grid.Row="1"/>
|
|
|
|
|
<dxe:TextEdit MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True"
|
|
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
|
|
|
|
EditValue="{Binding Mode=TwoWay, Path=EndTimeEditString, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
Grid.Column="3" x:Name="endTime1" Grid.Row="1"
|
|
|
|
|
Height="23"
|
|
|
|
|
Margin="3,0,3,3" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-02-09 13:51:26 +01:00
|
|
|
<Label Content="Dauer (min)" Grid.Column="2" x:Name="MinStdDauerLabel" Grid.Row="2"/>
|
2017-03-22 14:39:37 +01:00
|
|
|
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="False" AllowNullInput="False" x:Name="numerictb_duration" Mask="########" MaskUseAsDisplayFormat="True"
|
|
|
|
|
EditValue="{Binding Path=Duration, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
2017-01-19 17:02:07 +01:00
|
|
|
Grid.Column="3" Grid.Row="2"
|
2017-06-11 15:50:31 +02:00
|
|
|
Height="23" Margin="3,0,3,3"/>
|
2017-01-19 17:02:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dxe:ComboBoxEdit ItemsSource="{x:Static core:EnumTranslations.ZeiterfassungsDauerTranslations}" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" Margin="3,0,3,3"
|
|
|
|
|
EditValue="{Binding Path=DurationInStunden, UpdateSourceTrigger=PropertyChanged}" DisplayMember="Value" ValueMember="Key"
|
2017-03-22 14:39:37 +01:00
|
|
|
IsTextEditable="False" x:Name="MinSTDOhneEnd" Visibility="Collapsed" SelectedIndexChanged="MinSTDOhneEnd_OnSelectedIndexChanged "/>
|
2017-01-19 17:02:07 +01:00
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--############################### Bereich mit EndDatum ####################################-->
|
2017-06-11 15:50:31 +02:00
|
|
|
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitEnddatum" Visibility="Collapsed">
|
2017-01-19 17:02:07 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
2017-06-11 15:50:31 +02:00
|
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="label1"/>
|
2017-01-19 17:02:07 +01:00
|
|
|
<ColumnDefinition Width="88" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
2017-06-11 15:50:31 +02:00
|
|
|
<ColumnDefinition Width="Auto" />
|
2017-01-19 17:02:07 +01:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="0" Content="Startdatum" />
|
|
|
|
|
<dxe:DateEdit Grid.Column="1" Grid.Row="0"
|
|
|
|
|
x:Name="datepicker_newDate2"
|
|
|
|
|
EditValue="{val:ValidationBinding Mode=TwoWay, Path=Date}"
|
|
|
|
|
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="2" Grid.Row="0" Content="Uhrzeit" x:Name="StartzeitLabel2"/>
|
|
|
|
|
<dxe:TextEdit Grid.Column="3" Grid.Row="0" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True"
|
|
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
|
|
|
|
EditValue="{Binding Mode=TwoWay, Path=StartTimeEditString, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
x:Name="startTime2"
|
|
|
|
|
Height="23"
|
|
|
|
|
Margin="3,0,3,3"/>
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="1" Content="Enddatum" x:Name="EndDateLabel2"/>
|
|
|
|
|
<dxe:DateEdit Grid.Column="1" Grid.Row="1"
|
|
|
|
|
x:Name="datepicker_newEndDate2"
|
|
|
|
|
EditValue="{val:ValidationBinding Mode=TwoWay, Path=EditableEndDate}"
|
|
|
|
|
Height="23" Margin="3,0,3,3" MaskType="DateTimeAdvancingCaret" />
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="2" Grid.Row="1" Content="Uhrzeit" />
|
|
|
|
|
<dxe:TextEdit Grid.Column="3" Grid.Row="1" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True"
|
|
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
|
|
|
|
EditValue="{Binding Mode=TwoWay, Path=EndTimeEditString, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
x:Name="endTime2"
|
|
|
|
|
Height="23"
|
|
|
|
|
Margin="3,0,3,3" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Content="Dauer" Grid.Column="2" x:Name="MinStdDauerlbl" Grid.Row="2"/>
|
2017-03-22 14:39:37 +01:00
|
|
|
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="False" AllowNullInput="False" x:Name="numeric_duration" Mask="########" MaskUseAsDisplayFormat="True"
|
|
|
|
|
EditValue="{Binding Path=DurationSTD, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
2017-01-19 17:02:07 +01:00
|
|
|
Grid.Column="3" Grid.Row="2"
|
|
|
|
|
Height="23" Margin="3,0,3,3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dxe:ComboBoxEdit ItemsSource="{x:Static core:EnumTranslations.ZeiterfassungsDauerTranslations}" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" Margin="3,0,3,3"
|
|
|
|
|
EditValue="{Binding Path=DurationInStunden, UpdateSourceTrigger=PropertyChanged}" DisplayMember="Value" ValueMember="Key"
|
2017-03-22 14:39:37 +01:00
|
|
|
IsTextEditable="False" x:Name="MinSTDMitEnd" Visibility="Collapsed" SelectedIndexChanged="MinSTDMitEnd_OnSelectedIndexChanged "/>
|
2017-01-19 17:02:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--#########################################################################################-->
|
|
|
|
|
|
|
|
|
|
<!--############################### Bereich Nur Jahr / Monat ################################-->
|
2017-02-09 09:06:07 +01:00
|
|
|
<Grid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2" x:Name="GridMitJahrMonat" Visibility="Collapsed">
|
2017-01-19 17:02:07 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="Label1" />
|
|
|
|
|
<ColumnDefinition Width="88" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="0" Content="Jahr" />
|
2017-02-02 13:52:49 +01:00
|
|
|
|
2017-01-19 17:02:07 +01:00
|
|
|
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="0" Margin="3,0,3,3" x:Name="OnlyJahrData"
|
|
|
|
|
EditValue="{Binding Path=OnlyYear, UpdateSourceTrigger=PropertyChanged}"
|
2017-05-18 21:47:09 +02:00
|
|
|
ItemsSource="{Binding Path=JahreBinden}" Height="23"
|
2017-01-19 17:02:07 +01:00
|
|
|
IsTextEditable="False" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="1" Content="Monat" x:Name="EndDateLabel3"/>
|
2017-02-02 13:52:49 +01:00
|
|
|
|
2017-01-19 17:02:07 +01:00
|
|
|
<dxe:ComboBoxEdit Grid.Column="3" Grid.Row="1" Margin="3,0,3,3" x:Name="OnlyMonatData"
|
|
|
|
|
EditValue="{Binding Path=OnlyMonth, UpdateSourceTrigger=PropertyChanged}"
|
2017-05-18 21:47:09 +02:00
|
|
|
IsTextEditable="False" Height="23"
|
2017-03-21 13:28:34 +01:00
|
|
|
ItemsSource="{Binding Path=MonateBinden}" />
|
|
|
|
|
|
2017-01-19 17:02:07 +01:00
|
|
|
|
2017-05-18 21:47:09 +02:00
|
|
|
<Label Content="Stunden" Grid.Column="0" Grid.Row="2"/>
|
2017-03-22 14:39:37 +01:00
|
|
|
<dxe:SpinEdit MinValue="0" Increment="5" IsFloatValue="True" AllowNullInput="False" x:Name="numeric_duration3" Mask="########0.##" MaskUseAsDisplayFormat="True"
|
|
|
|
|
EditValue="{Binding Path=DurationMonthYearGes, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
2017-01-19 17:02:07 +01:00
|
|
|
Grid.Column="3" Grid.Row="2"
|
|
|
|
|
Height="23" Margin="3,0,3,3"/>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--#########################################################################################-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--################################### Bereich für Gefahrene Kilometer ###################################-->
|
|
|
|
|
<Grid Grid.Column="0" Grid.Row="6" ColumnSpan="2" x:Name="DauerGrid" Visibility="Visible">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
2017-06-11 15:50:31 +02:00
|
|
|
<ColumnDefinition Width="70"/>
|
|
|
|
|
<ColumnDefinition Width="62" />
|
|
|
|
|
<ColumnDefinition Width="71" />
|
|
|
|
|
<ColumnDefinition Width="62" />
|
2017-01-19 17:02:07 +01:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2017-06-11 15:50:31 +02:00
|
|
|
<Label Grid.Row="1" Content="Gefahrene Kilometer" Grid.Column="1" Grid.ColumnSpan="2" x:Name="lblDistance" HorizontalAlignment="Right" Margin="0,0,3,0"/>
|
|
|
|
|
<dxe:SpinEdit Grid.Row="1" Increment="5" MinValue="0" IsFloatValue="False"
|
2017-01-19 17:02:07 +01:00
|
|
|
AllowNullInput="False" x:Name="numerictb_distance" EditValue="{Binding Mode=TwoWay, Path=DistanceInMeter, Converter={StaticResource Int2DecimalConverter}}"
|
2017-06-11 15:50:31 +02:00
|
|
|
Grid.Column="3" Height="23" Margin="3,0,3,3" />
|
2017-01-19 17:02:07 +01:00
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--#######################################################################################################-->
|
2017-02-02 13:52:49 +01:00
|
|
|
|
2017-01-19 17:02:07 +01:00
|
|
|
|
|
|
|
|
<CheckBox x:Name="EditOnlyThisRecord" Grid.Row="7" Visibility="Collapsed">Nur diesen Eintrag bearbeiten</CheckBox>
|
2016-06-27 01:45:38 +02:00
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Row="1" Margin="0,0,0,0">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<!--<Label Grid.Row="0" VerticalAlignment="Top" Content="Dokumentation" HorizontalAlignment="Left" Margin="0,-5,0,0" x:Name="DokuLabel" />-->
|
|
|
|
|
|
2017-03-28 11:01:28 +02:00
|
|
|
<TabControl Grid.Row="1" x:Name="TabControlNotice">
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
|
|
|
<TabItem Header="Notice1" IsSelected="True" x:Name="TabItem1_Notice">
|
|
|
|
|
<TextBox x:Name="TextboxNotice"
|
|
|
|
|
Text="{val:ValidationBinding Path=Notice, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
VerticalAlignment="Stretch"
|
|
|
|
|
AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
|
|
|
|
HorizontalScrollBarVisibility="Hidden" TextWrapping="Wrap"
|
|
|
|
|
AutoWordSelection="True" Visibility="Visible" Language="de-DE" SpellCheck.IsEnabled="True"/>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2017-07-27 09:58:04 +02:00
|
|
|
<TabItem Header="RTF1" x:Name="TabitemRtf1Note" Visibility="Collapsed">
|
|
|
|
|
<dxb:BarManager x:Name="barManager1" ToolbarGlyphSize="Small" >
|
|
|
|
|
<dxb:BarManager.Resources>
|
|
|
|
|
<dxre:RichEditUICommand x:Key="commands"/>
|
|
|
|
|
</dxb:BarManager.Resources>
|
|
|
|
|
<DockPanel>
|
|
|
|
|
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
|
|
|
|
|
<dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomComboBox1" CategoryName="Format" Command="{Binding ViewZoomPercent, Mode=OneTime, Source={StaticResource commands}}" EditWidth="70">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxre:ZoomComboBoxEditSettings/>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomTrackBar1" Content="" CategoryName="Format" Command="{Binding ViewZoom, Mode=OneTime, Source={StaticResource commands}}" EditWidth="150">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxe:TrackBarEditSettings LargeStep="0.1" Maximum="5.0" Minimum="0.1" SmallStep="0.1">
|
|
|
|
|
<dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
<dxe:TrackBarZoomStyleSettings/>
|
|
|
|
|
</dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
</dxe:TrackBarEditSettings>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
</dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
</dxr:RibbonStatusBarControl>
|
|
|
|
|
<dxre:RichEditControl x:Name="richEditControl1" BarManager="{Binding ElementName=barManager1, Mode=OneTime}" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch"/>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
</dxb:BarManager>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
<TabItem Header="Notice2" x:Name="TabItem2_Notice">
|
|
|
|
|
<TextBox x:Name="TextboxNotice2"
|
|
|
|
|
VerticalAlignment="Stretch"
|
|
|
|
|
Text="{val:ValidationBinding Path=Notice2, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
|
|
|
|
HorizontalScrollBarVisibility="Hidden" TextWrapping="Wrap"
|
|
|
|
|
AutoWordSelection="True" Visibility="Visible" Language="de-DE" SpellCheck.IsEnabled="True" />
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2017-07-27 09:58:04 +02:00
|
|
|
<TabItem Header="RTF2" x:Name="TabitemRtf2Note" Visibility="Collapsed">
|
|
|
|
|
<dxb:BarManager x:Name="barManager2" ToolbarGlyphSize="Small" >
|
|
|
|
|
<dxb:BarManager.Resources>
|
|
|
|
|
<dxre:RichEditUICommand x:Key="commands"/>
|
|
|
|
|
</dxb:BarManager.Resources>
|
|
|
|
|
<DockPanel>
|
|
|
|
|
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
|
|
|
|
|
<dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomComboBox2" CategoryName="Format" Command="{Binding ViewZoomPercent, Mode=OneTime, Source={StaticResource commands}}" EditWidth="70">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxre:ZoomComboBoxEditSettings/>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomTrackBar2" Content="" CategoryName="Format" Command="{Binding ViewZoom, Mode=OneTime, Source={StaticResource commands}}" EditWidth="150">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxe:TrackBarEditSettings LargeStep="0.1" Maximum="5.0" Minimum="0.1" SmallStep="0.1">
|
|
|
|
|
<dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
<dxe:TrackBarZoomStyleSettings/>
|
|
|
|
|
</dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
</dxe:TrackBarEditSettings>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
</dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
</dxr:RibbonStatusBarControl>
|
|
|
|
|
<dxre:RichEditControl x:Name="richEditControl2" BarManager="{Binding ElementName=barManager2, Mode=OneTime}" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch"/>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
</dxb:BarManager>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
<TabItem Header="Notice3" x:Name="TabItem3_Notice">
|
|
|
|
|
<TextBox x:Name="TextboxNotice3"
|
|
|
|
|
VerticalAlignment="Stretch"
|
|
|
|
|
Text="{val:ValidationBinding Path=Notice3, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
|
|
|
|
HorizontalScrollBarVisibility="Hidden" TextWrapping="Wrap"
|
|
|
|
|
AutoWordSelection="True" Visibility="Visible" Language="de-DE" SpellCheck.IsEnabled="True" />
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2017-07-27 09:58:04 +02:00
|
|
|
<TabItem Header="RTF3" x:Name="TabitemRtf3Note" Visibility="Collapsed">
|
|
|
|
|
<dxb:BarManager x:Name="barManager3" ToolbarGlyphSize="Small" >
|
|
|
|
|
<dxb:BarManager.Resources>
|
|
|
|
|
<dxre:RichEditUICommand x:Key="commands"/>
|
|
|
|
|
</dxb:BarManager.Resources>
|
|
|
|
|
<DockPanel>
|
|
|
|
|
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
|
|
|
|
|
<dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomComboBox3" CategoryName="Format" Command="{Binding ViewZoomPercent, Mode=OneTime, Source={StaticResource commands}}" EditWidth="70">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxre:ZoomComboBoxEditSettings/>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomTrackBar3" Content="" CategoryName="Format" Command="{Binding ViewZoom, Mode=OneTime, Source={StaticResource commands}}" EditWidth="150">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxe:TrackBarEditSettings LargeStep="0.1" Maximum="5.0" Minimum="0.1" SmallStep="0.1">
|
|
|
|
|
<dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
<dxe:TrackBarZoomStyleSettings/>
|
|
|
|
|
</dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
</dxe:TrackBarEditSettings>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
</dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
</dxr:RibbonStatusBarControl>
|
|
|
|
|
<dxre:RichEditControl x:Name="richEditControl3" BarManager="{Binding ElementName=barManager3, Mode=OneTime}" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch"/>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
</dxb:BarManager>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
<TabItem Header="Notice4" x:Name="TabItem4_Notice">
|
|
|
|
|
<TextBox x:Name="TextboxNotice4"
|
|
|
|
|
VerticalAlignment="Stretch"
|
|
|
|
|
Text="{val:ValidationBinding Path=Notice4, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
|
|
|
|
HorizontalScrollBarVisibility="Hidden" TextWrapping="Wrap"
|
|
|
|
|
AutoWordSelection="True" Visibility="Visible" Language="de-DE" SpellCheck.IsEnabled="True" />
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2017-07-27 09:58:04 +02:00
|
|
|
<TabItem Header="RTF4" x:Name="TabitemRtf4Note" Visibility="Collapsed">
|
|
|
|
|
<dxb:BarManager x:Name="barManager4" ToolbarGlyphSize="Small" >
|
|
|
|
|
<dxb:BarManager.Resources>
|
|
|
|
|
<dxre:RichEditUICommand x:Key="commands"/>
|
|
|
|
|
</dxb:BarManager.Resources>
|
|
|
|
|
<DockPanel>
|
|
|
|
|
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
|
|
|
|
|
<dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomComboBox4" CategoryName="Format" Command="{Binding ViewZoomPercent, Mode=OneTime, Source={StaticResource commands}}" EditWidth="70">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxre:ZoomComboBoxEditSettings/>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomTrackBar4" Content="" CategoryName="Format" Command="{Binding ViewZoom, Mode=OneTime, Source={StaticResource commands}}" EditWidth="150">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxe:TrackBarEditSettings LargeStep="0.1" Maximum="5.0" Minimum="0.1" SmallStep="0.1">
|
|
|
|
|
<dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
<dxe:TrackBarZoomStyleSettings/>
|
|
|
|
|
</dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
</dxe:TrackBarEditSettings>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
</dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
</dxr:RibbonStatusBarControl>
|
|
|
|
|
<dxre:RichEditControl x:Name="richEditControl4" BarManager="{Binding ElementName=barManager4, Mode=OneTime}" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch"/>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
</dxb:BarManager>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
<TabItem Header="Notice5" x:Name="TabItem5_Notice">
|
|
|
|
|
<TextBox x:Name="TextboxNotice5"
|
|
|
|
|
VerticalAlignment="Stretch"
|
|
|
|
|
Text="{val:ValidationBinding Path=Notice5, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
|
AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
|
|
|
|
HorizontalScrollBarVisibility="Hidden" TextWrapping="Wrap"
|
|
|
|
|
AutoWordSelection="True" Visibility="Visible" Language="de-DE" SpellCheck.IsEnabled="True" />
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2017-07-27 09:58:04 +02:00
|
|
|
<TabItem Header="RTF5" x:Name="TabitemRtf5Note" Visibility="Collapsed">
|
|
|
|
|
<dxb:BarManager x:Name="barManager5" ToolbarGlyphSize="Small" >
|
|
|
|
|
<dxb:BarManager.Resources>
|
|
|
|
|
<dxre:RichEditUICommand x:Key="commands"/>
|
|
|
|
|
</dxb:BarManager.Resources>
|
|
|
|
|
<DockPanel>
|
|
|
|
|
<dxr:RibbonStatusBarControl DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
|
|
|
|
|
<dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomComboBox5" CategoryName="Format" Command="{Binding ViewZoomPercent, Mode=OneTime, Source={StaticResource commands}}" EditWidth="70">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxre:ZoomComboBoxEditSettings/>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
<dxb:BarEditItem x:Name="biZoomTrackBar5" Content="" CategoryName="Format" Command="{Binding ViewZoom, Mode=OneTime, Source={StaticResource commands}}" EditWidth="150">
|
|
|
|
|
<dxb:BarEditItem.EditSettings>
|
|
|
|
|
<dxe:TrackBarEditSettings LargeStep="0.1" Maximum="5.0" Minimum="0.1" SmallStep="0.1">
|
|
|
|
|
<dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
<dxe:TrackBarZoomStyleSettings/>
|
|
|
|
|
</dxe:TrackBarEditSettings.StyleSettings>
|
|
|
|
|
</dxe:TrackBarEditSettings>
|
|
|
|
|
</dxb:BarEditItem.EditSettings>
|
|
|
|
|
</dxb:BarEditItem>
|
|
|
|
|
</dxr:RibbonStatusBarControl.RightItems>
|
|
|
|
|
</dxr:RibbonStatusBarControl>
|
|
|
|
|
<dxre:RichEditControl x:Name="richEditControl5" BarManager="{Binding ElementName=barManager5, Mode=OneTime}" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch"/>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
</dxb:BarManager>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
</TabControl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Border Grid.Row="2" Grid.ColumnSpan="3" Height="40" Margin="0,10,0,0" VerticalAlignment="Stretch" Background="#FF000000">
|
|
|
|
|
<Border.OpacityMask>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#19000000" Offset="0" />
|
|
|
|
|
<GradientStop Color="#33FFFFFF" Offset="1" />
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Border.OpacityMask>
|
|
|
|
|
</Border>
|
|
|
|
|
<StackPanel Grid.ColumnSpan="3" Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center" Height="Auto" Margin="5,10,0,0" HorizontalAlignment="Right">
|
|
|
|
|
<Button x:Name="btnSave" Content="Speichern und schließen" Margin="0,0,3,0" Command="ApplicationCommands.Save" Height="25" />
|
|
|
|
|
<Button x:Name="btnClose" Content="Abbrechen" Margin="0,0,3,0" Command="ApplicationCommands.Close" Height="25" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
<!--/uc:ShadowChrome-->
|
|
|
|
|
</Grid>
|
|
|
|
|
</localView:BeWoView>
|