Files
SanchoToro/GestionGrupoSanchoToro/ucUsuario.xaml
2026-01-23 12:45:41 +01:00

76 lines
5.9 KiB
XML

<tsWPF:tsUserControl x:Class="ucUsuario"
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"
mc:Ignorable="d" 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" d:DesignHeight="768" d:DesignWidth="1366">
<UserControl.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>
</UserControl.Resources>
<Grid Name="contenido">
<dxlc:LayoutControl Name="LayoutControl1" Orientation="Vertical">
<dxlc:LayoutGroup Header="Detalle" Name="lgDetalle" View="GroupBox" IsLocked="True" Orientation="Vertical" Width="Auto" HorizontalAlignment="Stretch">
<dxlc:LayoutGroup Orientation="Vertical" HorizontalAlignment="Left" >
<tsWPF:tsLayoutItem Label="Código Usuario:">
<tsWPF:tsLayoutItem.PropiedadesTS>
<tsWPF:PropiedadesTS Obligatorio="True" Unico="True"/>
</tsWPF:tsLayoutItem.PropiedadesTS>
<dxe:TextEdit EditValue="{Binding Path=Usuario, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true, NotifyOnSourceUpdated=True}" TabIndex="1" />
</tsWPF:tsLayoutItem>
<tsWPF:tsLayoutItem Label="Nombre:" Name="LayoutItem7">
<tsWPF:tsLayoutItem.PropiedadesTS>
<tsWPF:PropiedadesTS Obligatorio="True"/>
</tsWPF:tsLayoutItem.PropiedadesTS>
<dxe:TextEdit Name="TextEdit2" EditValue="{Binding Path=Nombre, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true, NotifyOnSourceUpdated=True}" TabIndex="2" />
</tsWPF:tsLayoutItem>
<tsWPF:tsLayoutItem Label="Grupo:">
<tsWPF:tsLayoutItem.PropiedadesTS>
<tsWPF:PropiedadesTS Obligatorio="True"/>
</tsWPF:tsLayoutItem.PropiedadesTS>
<dxe:ComboBoxEdit EditValue="{Binding Path=idGrupo, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true, NotifyOnSourceUpdated=True}" Name="leGrupo" DisplayMember="Descripcion" ValueMember="idGrupo" AutoComplete="True" IncrementalFiltering="True" ImmediatePopup="True" TabIndex="3"></dxe:ComboBoxEdit>
<!--<dxe:TextEdit EditValue="{Binding Path=idTipoDocumentoIdentidad, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true, NotifyOnSourceUpdated=True}" TabIndex="3" />-->
</tsWPF:tsLayoutItem>
<tsWPF:tsLayoutItem Label="Tema:" Width="450" HorizontalAlignment="Left" >
<tsWPF:tsLayoutItem.PropiedadesTS>
<tsWPF:PropiedadesTS />
</tsWPF:tsLayoutItem.PropiedadesTS>
<dxe:ComboBoxEdit EditValue="{Binding Path=idTema, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true, NotifyOnSourceUpdated=True}" Name="cbTema" DisplayMember="Descripcion" ValueMember="idEnumeracion" AutoComplete="True" IncrementalFiltering="True" ImmediatePopup="True" TabIndex="4" AllowNullInput="True" NullText="* DEFECTO *"></dxe:ComboBoxEdit>
<!--<dxe:TextEdit EditValue="{Binding Path=idTipoDocumentoIdentidad, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true, NotifyOnSourceUpdated=True}" TabIndex="3" />-->
</tsWPF:tsLayoutItem>
<tsWPF:tsLayoutItem Label="Fecha Baja:">
<tsWPF:tsLayoutItem.PropiedadesTS>
<tsWPF:PropiedadesTS UsualCorreccion="False" />
</tsWPF:tsLayoutItem.PropiedadesTS>
<dxe:DateEdit EditValue="{Binding FechaBaja, Mode=TwoWay, NotifyOnSourceUpdated=True, NotifyOnValidationError=true, ValidatesOnExceptions=true}" TabIndex="5"/>
</tsWPF:tsLayoutItem>
<tsWPF:tsLayoutItem Label="Contraseña:">
<tsWPF:tsLayoutItem.PropiedadesTS>
<tsWPF:PropiedadesTS Obligatorio="True" />
</tsWPF:tsLayoutItem.PropiedadesTS>
<dxe:PasswordBoxEdit TabIndex="6" Name="pbeContraseña" ValidateOnTextInput="False" />
</tsWPF:tsLayoutItem>
<tsWPF:tsLayoutItem Label="Repetición Contraseña:" >
<tsWPF:tsLayoutItem.PropiedadesTS>
<tsWPF:PropiedadesTS Obligatorio="True" />
</tsWPF:tsLayoutItem.PropiedadesTS>
<dxe:PasswordBoxEdit TabIndex="7" Name="pbeRepeticion" ValidateOnTextInput="False" />
</tsWPF:tsLayoutItem>
</dxlc:LayoutGroup>
</dxlc:LayoutGroup>
<dxlc:LayoutGroup></dxlc:LayoutGroup>
</dxlc:LayoutControl>
</Grid>
</tsWPF:tsUserControl>