70 lines
5.7 KiB
XML
70 lines
5.7 KiB
XML
<tsWPF:tsUserControl 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:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking"
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" xmlns:tsWPF="clr-namespace:tsWPFCore;assembly=tsWPFCore" xmlns:Serialization="clr-namespace:DevExpress.Xpf.LayoutControl.Serialization;assembly=DevExpress.Xpf.LayoutControl.v23.2" x:Class="ucSerieFactura"
|
|
mc:Ignorable="d" d:DesignHeight="1024" d:DesignWidth="1280">
|
|
<tsWPF:tsUserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/tsWPFCore;component/Plantillas.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
<Style x:Key="RejillaAnidadaStyle" TargetType="{x:Type dxg:RowControl}">
|
|
<Setter Property="Background" Value="#B0E0E6" />
|
|
</Style>
|
|
</ResourceDictionary>
|
|
</tsWPF:tsUserControl.Resources>
|
|
<Grid x:Name="contenido" HorizontalAlignment="Stretch" Width="Auto">
|
|
<dxlc:LayoutControl x:Name="LayoutControl1" Orientation="Vertical">
|
|
<dxlc:LayoutGroup Header="Detalle" x:Name="lgDetalle" View="GroupBox" ItemLabelsAlignment="Default" IsLocked="True" Width="Auto" Orientation="Vertical" HorizontalAlignment="Stretch">
|
|
<dxlc:LayoutGroup>
|
|
<dxlc:LayoutGroup dx:ScrollViewerTouchBehavior.IsEnabled="True" Serialization:SerializableItem.TypeName="LayoutGroup">
|
|
<dxlc:LayoutGroup Orientation="Vertical" Width="450">
|
|
<tsWPF:tsLayoutItem Label="Serie:" Width="200" HorizontalAlignment="Left">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Obligatorio="True" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:TextEdit EditValue="{Binding Serie, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" TabIndex="1" />
|
|
</tsWPF:tsLayoutItem>
|
|
<tsWPF:tsLayoutItem Label="Descripción:" >
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Obligatorio="true" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:TextEdit EditValue="{Binding Descripcion, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" TabIndex="2" />
|
|
</tsWPF:tsLayoutItem>
|
|
<tsWPF:tsLayoutItem Label="Nº Dígitos:" Width="200" HorizontalAlignment="Left">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Obligatorio="true" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:TextEdit TabIndex="1" Mask="N0" MaskType="Numeric" MaskUseAsDisplayFormat="True" EditValue="{Binding NumeroDigitos, Converter={StaticResource DoubleToDecimalConverter}, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" />
|
|
</tsWPF:tsLayoutItem>
|
|
|
|
|
|
<tsWPF:tsLayoutItem Label="Tipo:" >
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS Obligatorio="True" />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:ComboBoxEdit x:Name="cbTipo" AutoComplete="True" ValidateOnTextInput="False" IsTextEditable="True" DisplayMember="Descripcion" ValueMember="Valor" EditValue="{Binding Tipo, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" TabIndex="3" />
|
|
</tsWPF:tsLayoutItem>
|
|
<tsWPF:tsLayoutItem Label="Fecha Baja:" Width="200" HorizontalAlignment="Left">
|
|
<tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<tsWPF:PropiedadesTS />
|
|
</tsWPF:tsLayoutItem.PropiedadesTS>
|
|
<dxe:DateEdit EditValue="{Binding FechaBaja, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" TabIndex="4" />
|
|
</tsWPF:tsLayoutItem>
|
|
<tsWPF:tsLayoutItem Label="IRPF Despues de IVA:" HorizontalAlignment="Left" HorizontalContentAlignment="Left" >
|
|
<dxe:CheckEdit x:Name="cbSoloPendientes" IsChecked="False" EditValue="{Binding IRPFDespuesDeIVA, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" TabIndex="5" />
|
|
</tsWPF:tsLayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
</dxlc:LayoutGroup>
|
|
<dxlc:LayoutGroup Orientation="Vertical"/>
|
|
</dxlc:LayoutGroup>
|
|
</dxlc:LayoutGroup>
|
|
</dxlc:LayoutControl>
|
|
</Grid>
|
|
</tsWPF:tsUserControl>
|