126 lines
5.3 KiB
XML
126 lines
5.3 KiB
XML
<localView:BeWoView
|
|
x:Class="BeWo.View.Detail.InvoiceNumberView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic"
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
xmlns:localView="clr-namespace:BeWo.View"
|
|
xmlns:localViewDetail="clr-namespace:BeWo.View.Detail"
|
|
xmlns:localViewModel="clr-namespace:BeWo.ViewModel"
|
|
xmlns:r="clr-namespace:BeWo.Security"
|
|
xmlns:s="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
|
xmlns:val="clr-namespace:BeWo.Validation"
|
|
Width="Auto"
|
|
Height="Auto"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch"
|
|
Focusable="True">
|
|
<Grid>
|
|
<GroupBox
|
|
x:Name="root"
|
|
Header="Rechnungsnummer"
|
|
Style="{StaticResource ObjectEditGroupBox}">
|
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label
|
|
Margin="3"
|
|
VerticalAlignment="Center"
|
|
Content="Automatische Rechnungsnummer verwenden" />
|
|
<dxe:CheckEdit
|
|
Grid.Column="1"
|
|
Width="200"
|
|
Height="23"
|
|
Margin="3"
|
|
IsChecked="{Binding Use}" />
|
|
|
|
<Label
|
|
Grid.Row="1"
|
|
Margin="3"
|
|
VerticalAlignment="Center"
|
|
Content="Schema" />
|
|
<TextBox
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Width="200"
|
|
Height="23"
|
|
Margin="3"
|
|
Text="{Binding Pattern}" />
|
|
|
|
<Label
|
|
Grid.Row="2"
|
|
Margin="3"
|
|
VerticalAlignment="Center"
|
|
Content="Aktuelle Nummer" />
|
|
<dxe:SpinEdit
|
|
Name="spinedit_number"
|
|
Grid.Row="2"
|
|
Grid.Column="1"
|
|
Width="200"
|
|
Height="23"
|
|
EditValue="{Binding Path=CurrentNumber, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource Int2DecimalConverter}}"
|
|
IsFloatValue="False" />
|
|
|
|
|
|
<dxg:GridControl
|
|
x:Name="GridControlInvoiceNumbers"
|
|
Grid.Row="3"
|
|
Grid.Column="0"
|
|
Grid.ColumnSpan="2"
|
|
Margin="0,10,0,0">
|
|
<dxg:GridControl.Columns>
|
|
<dxg:GridColumn
|
|
Width="100"
|
|
FieldName="Name"
|
|
Header="Name"
|
|
SortIndex="0"
|
|
SortOrder="Ascending" />
|
|
<dxg:GridColumn
|
|
Width="100"
|
|
FieldName="Schema"
|
|
Header="Schema">
|
|
<dxg:GridColumn.EditSettings>
|
|
<dxe:TextEditSettings
|
|
DisplayFormat="0"
|
|
Mask="0"
|
|
MaskType="Numeric" />
|
|
</dxg:GridColumn.EditSettings>
|
|
</dxg:GridColumn>
|
|
<dxg:GridColumn
|
|
Width="100"
|
|
FieldName="CurrentNumber"
|
|
Header="Aktuelle Nummer">
|
|
<dxg:GridColumn.EditSettings>
|
|
<dxe:TextEditSettings
|
|
DisplayFormat="0"
|
|
Mask="0"
|
|
MaskType="Numeric" />
|
|
</dxg:GridColumn.EditSettings>
|
|
</dxg:GridColumn>
|
|
</dxg:GridControl.Columns>
|
|
<dxg:GridControl.View>
|
|
<dxg:TableView
|
|
AutoWidth="true"
|
|
NavigationStyle="Cell"
|
|
ShowGroupPanel="False"
|
|
ShowGroupedColumns="false"
|
|
ShowTotalSummary="False" />
|
|
</dxg:GridControl.View>
|
|
</dxg:GridControl>
|
|
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</localView:BeWoView> |